summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Monster.h
diff options
context:
space:
mode:
authormgueydan <gueydan.mathieuÃ@gmail.com>2013-09-08 01:21:43 +0200
committermgueydan <gueydan.mathieuÃ@gmail.com>2013-09-08 01:21:43 +0200
commitcaa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c (patch)
treeda48273cd36e3095cefe782ae1e274dbe6745258 /source/Mobs/Monster.h
parentAdding an Empty shell that would launch mob spawner - not called yet (diff)
downloadcuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.tar
cuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.tar.gz
cuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.tar.bz2
cuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.tar.lz
cuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.tar.xz
cuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.tar.zst
cuberite-caa54af54640d1c94c57bc84b6b1e4eb2e7a6f3c.zip
Diffstat (limited to '')
-rw-r--r--source/Mobs/Monster.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h
index 594914ca0..ef7904e8e 100644
--- a/source/Mobs/Monster.h
+++ b/source/Mobs/Monster.h
@@ -54,6 +54,8 @@ public:
mtOcelot = E_META_SPAWN_EGG_OCELOT,
mtIronGolem = E_META_SPAWN_EGG_IRON_GOLEM,
mtVillager = E_META_SPAWN_EGG_VILLAGER,
+
+ mtInvalidType, // MG TODO : be sure this is the way we do in this project. (needed inside cMobSpawner::ChooscMonster for instance if nothing can be spawned)
} ;
enum eFamily
@@ -62,7 +64,8 @@ public:
mfPassive = 1, // Cows, Pigs
mfAmbient = 2, // Bats
mfWater = 3, // Squid
- mfMaxplusone = 4, // Nothing
+
+ mfMaxplusone, // Nothing. Be sure this is the last and the others are in order
} ;
// tolua_end