1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
This commit is contained in:
DjWarmonger 2011-04-07 16:44:24 +00:00
parent 69364b5b60
commit 8ac7edb04b

View File

@ -1071,8 +1071,7 @@ int CCreatureHandler::pickRandomMonster(const boost::function<int()> &randGen, i
{
do
{
pickRandomElementOf(creatures, randGen);
//r = retreiveRandNum(randGen) % CREATURES_COUNT;
r = pickRandomElementOf(creatures, randGen)->idNumber;
} while (vstd::contains(VLC->creh->notUsedMonsters,r));
}
else