summaryrefslogtreecommitdiff
path: root/src/activeobject.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-05-20 08:15:56 +0200
committerGitHub <noreply@github.com>2017-05-20 08:15:56 +0200
commitce9802266ef1def339ec2e119c59090d0fd07c90 (patch)
tree7a408a21c0448030d162cbcc88b74febf5aefb87 /src/activeobject.h
parent35267406aa849195b72bf2edf63fecb16be013bc (diff)
downloadminetest-ce9802266ef1def339ec2e119c59090d0fd07c90.tar.gz
minetest-ce9802266ef1def339ec2e119c59090d0fd07c90.tar.bz2
minetest-ce9802266ef1def339ec2e119c59090d0fd07c90.zip
Various code cleanup & little performance improvement on HTTP download (#5772)
* Disable or remove unused enum members/functions * Tiny code style fixes * Make some functions const * Replace ClientMediaDownloader std::unordered_map with std::map
Diffstat (limited to 'src/activeobject.h')
-rw-r--r--src/activeobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/activeobject.h b/src/activeobject.h
index 71b9df514..f349ddef3 100644
--- a/src/activeobject.h
+++ b/src/activeobject.h
@@ -28,9 +28,9 @@ enum ActiveObjectType {
ACTIVEOBJECT_TYPE_TEST = 1,
// Deprecated stuff
ACTIVEOBJECT_TYPE_ITEM = 2,
- ACTIVEOBJECT_TYPE_RAT = 3,
- ACTIVEOBJECT_TYPE_OERKKI1 = 4,
- ACTIVEOBJECT_TYPE_FIREFLY = 5,
+// ACTIVEOBJECT_TYPE_RAT = 3,
+// ACTIVEOBJECT_TYPE_OERKKI1 = 4,
+// ACTIVEOBJECT_TYPE_FIREFLY = 5,
ACTIVEOBJECT_TYPE_MOBV2 = 6,
// End deprecated stuff
ACTIVEOBJECT_TYPE_LUAENTITY = 7,