1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:53:51 +00:00

Reset CreatureLevList spawning flag if levelled list returned no creature

This commit is contained in:
scrawl 2014-09-18 06:06:20 +02:00
parent c19f89976e
commit c05874e1ff

View file

@ -83,6 +83,8 @@ namespace MWClass
customData.mSpawnActorId = placed.getClass().getCreatureStats(placed).getActorId(); customData.mSpawnActorId = placed.getClass().getCreatureStats(placed).getActorId();
customData.mSpawn = false; customData.mSpawn = false;
} }
else
customData.mSpawn = false;
} }
void CreatureLevList::ensureCustomData(const MWWorld::Ptr &ptr) const void CreatureLevList::ensureCustomData(const MWWorld::Ptr &ptr) const