1
0

Renamed cMonster::GetSpawnRate() to GetSpawnDelay().

This commit is contained in:
madmaxoft
2013-10-24 16:45:13 +02:00
parent 99d369d837
commit 5331555708
5 changed files with 76 additions and 35 deletions

View File

@@ -755,9 +755,9 @@ void cWorld::TickMobs(float a_Dt)
for (int i = 0; i < ARRAYCOUNT(AllFamilies); i++)
{
cMonster::eFamily Family = AllFamilies[i];
int spawnrate = cMonster::GetSpawnRate(Family);
int SpawnDelay = cMonster::GetSpawnDelay(Family);
if (
(m_LastSpawnMonster[Family] > m_WorldAge - spawnrate) || // Not reached the needed tiks before the next round
(m_LastSpawnMonster[Family] > m_WorldAge - SpawnDelay) || // Not reached the needed ticks before the next round
MobCensus.IsCapped(Family)
)
{