mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 18:19:55 +00:00
Disable hitAttemptActorId saving code for now
This commit is contained in:
parent
2ea0db1d1a
commit
bbcba57495
3 changed files with 8 additions and 8 deletions
|
@ -531,7 +531,7 @@ namespace MWMechanics
|
|||
state.mActorId = mActorId;
|
||||
state.mDeathAnimation = mDeathAnimation;
|
||||
state.mTimeOfDeath = mTimeOfDeath.toEsm();
|
||||
state.mHitAttemptActorId = mHitAttemptActorId;
|
||||
//state.mHitAttemptActorId = mHitAttemptActorId;
|
||||
|
||||
mSpells.writeState(state.mSpells);
|
||||
mActiveSpells.writeState(state.mActiveSpells);
|
||||
|
@ -580,7 +580,7 @@ namespace MWMechanics
|
|||
mActorId = state.mActorId;
|
||||
mDeathAnimation = state.mDeathAnimation;
|
||||
mTimeOfDeath = MWWorld::TimeStamp(state.mTimeOfDeath);
|
||||
mHitAttemptActorId = state.mHitAttemptActorId;
|
||||
//mHitAttemptActorId = state.mHitAttemptActorId;
|
||||
|
||||
mSpells.readState(state.mSpells);
|
||||
mActiveSpells.readState(state.mActiveSpells);
|
||||
|
|
|
@ -90,8 +90,8 @@ void ESM::CreatureStats::load (ESMReader &esm)
|
|||
mActorId = -1;
|
||||
esm.getHNOT (mActorId, "ACID");
|
||||
|
||||
mHitAttemptActorId = -1;
|
||||
esm.getHNOT(mHitAttemptActorId, "HAID");
|
||||
//mHitAttemptActorId = -1;
|
||||
//esm.getHNOT(mHitAttemptActorId, "HAID");
|
||||
|
||||
mDeathAnimation = -1;
|
||||
esm.getHNOT (mDeathAnimation, "DANM");
|
||||
|
@ -206,8 +206,8 @@ void ESM::CreatureStats::save (ESMWriter &esm) const
|
|||
if (mActorId != -1)
|
||||
esm.writeHNT ("ACID", mActorId);
|
||||
|
||||
if (mHitAttemptActorId != -1)
|
||||
esm.writeHNT("HAID", mHitAttemptActorId);
|
||||
//if (mHitAttemptActorId != -1)
|
||||
// esm.writeHNT("HAID", mHitAttemptActorId);
|
||||
|
||||
if (mDeathAnimation != -1)
|
||||
esm.writeHNT ("DANM", mDeathAnimation);
|
||||
|
@ -246,7 +246,7 @@ void ESM::CreatureStats::blank()
|
|||
mTradeTime.mDay = 0;
|
||||
mGoldPool = 0;
|
||||
mActorId = -1;
|
||||
mHitAttemptActorId = -1;
|
||||
//mHitAttemptActorId = -1;
|
||||
mHasAiSettings = false;
|
||||
mDead = false;
|
||||
mDeathAnimationFinished = false;
|
||||
|
|
|
@ -38,7 +38,7 @@ namespace ESM
|
|||
ESM::TimeStamp mTradeTime;
|
||||
int mGoldPool;
|
||||
int mActorId;
|
||||
int mHitAttemptActorId;
|
||||
//int mHitAttemptActorId;
|
||||
|
||||
bool mDead;
|
||||
bool mDeathAnimationFinished;
|
||||
|
|
Loading…
Reference in a new issue