diff options
author | madmaxoft <github@xoft.cz> | 2013-10-24 16:45:13 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-24 16:45:13 +0200 |
commit | 5331555708ce3bfc4417b2f7c788fff98e81a858 (patch) | |
tree | 2a3351f51e136135d89d533c7a66f2ed881c0a81 /source/Mobs | |
parent | cPickup cleanup. (diff) | |
download | cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.tar cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.tar.gz cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.tar.bz2 cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.tar.lz cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.tar.xz cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.tar.zst cuberite-5331555708ce3bfc4417b2f7c788fff98e81a858.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Mobs/Monster.cpp | 2 | ||||
-rw-r--r-- | source/Mobs/Monster.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source/Mobs/Monster.cpp b/source/Mobs/Monster.cpp index 7e35b97f1..9b1f2fc4c 100644 --- a/source/Mobs/Monster.cpp +++ b/source/Mobs/Monster.cpp @@ -605,7 +605,7 @@ cMonster::eFamily cMonster::FamilyFromType(eType a_Type) -int cMonster::GetSpawnRate(cMonster::eFamily a_MobFamily) +int cMonster::GetSpawnDelay(cMonster::eFamily a_MobFamily) { switch (a_MobFamily) { diff --git a/source/Mobs/Monster.h b/source/Mobs/Monster.h index 14c72ed73..39fa716ed 100644 --- a/source/Mobs/Monster.h +++ b/source/Mobs/Monster.h @@ -146,8 +146,8 @@ public: /// Returns the mob family based on the type static eFamily FamilyFromType(eType a_MobType); - /// Returns the spawn rate (number of game ticks between spawn attempts) for the given mob family - static int GetSpawnRate(cMonster::eFamily a_MobFamily); + /// Returns the spawn delay (number of game ticks between spawn attempts) for the given mob family + static int GetSpawnDelay(cMonster::eFamily a_MobFamily); // tolua_end |