1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00
This commit is contained in:
DjWarmonger
2011-05-29 12:36:38 +00:00
parent cf445379dd
commit 968080a890

View File

@ -2091,7 +2091,10 @@ void CGTownInstance::newTurn() const
int i = rand() % std::min (ARMY_SIZE, cb->getDate(3)<<1);
TCreature c = town->basicCreatures[i];
TSlot n = -1;
TQuantity count = creatureGrowth(i);
if (!count) // no dwelling
count = VLC->creh->creatures[c]->growth;
{//no lower tiers or above current month