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:
parent
8cbc2c01ad
commit
37d81e916e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user