summaryrefslogtreecommitdiffstats
path: root/source/Mobs
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-24 16:45:13 +0200
committermadmaxoft <github@xoft.cz>2013-10-24 16:45:13 +0200
commit5331555708ce3bfc4417b2f7c788fff98e81a858 (patch)
tree2a3351f51e136135d89d533c7a66f2ed881c0a81 /source/Mobs
parentcPickup cleanup. (diff)
downloadcuberite-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 'source/Mobs')
-rw-r--r--source/Mobs/Monster.cpp2
-rw-r--r--source/Mobs/Monster.h4
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