summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Monster.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-10 21:48:12 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-11-10 21:48:12 +0100
commit71abbb2f56c15634cca8615343d9699d0c50724d (patch)
treef56c254125256cc23f481b4ac18c843bd7470566 /source/Mobs/Monster.h
parentRemoved cStringMap. (diff)
downloadcuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.gz
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.bz2
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.lz
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.xz
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.tar.zst
cuberite-71abbb2f56c15634cca8615343d9699d0c50724d.zip
Diffstat (limited to '')
-rw-r--r--source/Mobs/Monster.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h
index a0002bf4f..29a705d11 100644
--- a/source/Mobs/Monster.h
+++ b/source/Mobs/Monster.h
@@ -153,12 +153,9 @@ public:
/** Creates a new object of the specified mob.
a_MobType is the type of the mob to be created
- a_Size is the size (for mobs with size)
- if a_Size is let to -1 for entities that need size, size will be random
- asserts and returns null if mob type is not specified
- asserts if invalid size for mobs that need size
+ Asserts and returns null if mob type is not specified
*/
- static cMonster * NewMonsterFromType(eType a_MobType, int a_Size = -1);
+ static cMonster * NewMonsterFromType(eType a_MobType);
protected: