Assume mDeathAnimationFinished is true for older save files

coverity_scan^2
scrawl 9 years ago
parent 63784bfb50
commit 197e81206a

@ -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");

Loading…
Cancel
Save