mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-30 07:21:12 +00:00
Reset CreatureLevList spawning flag if levelled list returned no creature
This commit is contained in:
parent
c19f89976e
commit
c05874e1ff
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user