1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00
This commit is contained in:
AlexVinS
2017-08-12 14:36:04 +03:00
parent 15138c23de
commit 8c0fab1dcf
19 changed files with 37 additions and 33 deletions

View File

@@ -6082,7 +6082,7 @@ void CGameHandler::spawnWanderingMonsters(CreatureID creatureID)
for (int i = 0; i < amount; ++i)
{
tile = tiles.begin();
logGlobal->trace("\tSpawning monster at %s",tile->toString());
logGlobal->trace("\tSpawning monster at %s", tile->toString());
putNewMonster(creatureID, cre->getRandomAmount(std::rand), *tile);
tiles.erase(tile); //not use it again
}