1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix creature appearance on hota maps

This commit is contained in:
Ivan Savenko 2023-11-28 19:31:38 +02:00
parent 8cbc2c01ad
commit 37d81e916e

View File

@ -215,12 +215,8 @@ void CGCreature::pickRandomObject(CRandomGenerator & rand)
subID = VLC->creh->pickRandomMonster(rand, 7);
break;
}
if (ID != MapObjectID::MONSTER)
{
ID = MapObjectID::MONSTER;
setType(ID, subID);
}
ID = MapObjectID::MONSTER;
setType(ID, subID);
}
void CGCreature::initObj(CRandomGenerator & rand)