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:
parent
c19f89976e
commit
c05874e1ff
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue