From c05874e1ff42583d872930d69cf359e57e0416de Mon Sep 17 00:00:00 2001 From: scrawl Date: Thu, 18 Sep 2014 06:06:20 +0200 Subject: [PATCH] Reset CreatureLevList spawning flag if levelled list returned no creature --- apps/openmw/mwclass/creaturelevlist.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/openmw/mwclass/creaturelevlist.cpp b/apps/openmw/mwclass/creaturelevlist.cpp index 754780b1d..b1e27c345 100644 --- a/apps/openmw/mwclass/creaturelevlist.cpp +++ b/apps/openmw/mwclass/creaturelevlist.cpp @@ -83,6 +83,8 @@ namespace MWClass customData.mSpawnActorId = placed.getClass().getCreatureStats(placed).getActorId(); customData.mSpawn = false; } + else + customData.mSpawn = false; } void CreatureLevList::ensureCustomData(const MWWorld::Ptr &ptr) const