mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-08 22:26:51 +02:00
Merge pull request #5179 from godric3/map-editor-fix-copying-monster
map editor: fix crash when copying monster
This commit is contained in:
@@ -59,7 +59,8 @@ public:
|
||||
{
|
||||
CreatureID creatureID;
|
||||
h & creatureID;
|
||||
setType(creatureID.toCreature());
|
||||
if(creatureID != CreatureID::NONE)
|
||||
setType(creatureID.toCreature());
|
||||
}
|
||||
|
||||
h & count;
|
||||
|
Reference in New Issue
Block a user