mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
Fixed #680
This commit is contained in:
@ -1071,8 +1071,7 @@ int CCreatureHandler::pickRandomMonster(const boost::function<int()> &randGen, i
|
|||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
pickRandomElementOf(creatures, randGen);
|
r = pickRandomElementOf(creatures, randGen)->idNumber;
|
||||||
//r = retreiveRandNum(randGen) % CREATURES_COUNT;
|
|
||||||
} while (vstd::contains(VLC->creh->notUsedMonsters,r));
|
} while (vstd::contains(VLC->creh->notUsedMonsters,r));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user