1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-30 03:45:32 +00:00

Assume mDeathAnimationFinished is true for older save files

This commit is contained in:
scrawl 2016-06-12 19:42:59 +02:00
parent 63784bfb50
commit 197e81206a

View file

@ -23,6 +23,9 @@ void ESM::CreatureStats::load (ESMReader &esm)
mDeathAnimationFinished = false;
esm.getHNOT (mDeathAnimationFinished, "DFNT");
if (esm.getFormat() < 3 && mDead)
mDeathAnimationFinished = true;
mDied = false;
esm.getHNOT (mDied, "DIED");