mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-06 15:51:35 +00:00
Fix for AiWander state loading
This commit is contained in:
parent
559ddbb480
commit
92e4a0669c
1 changed files with 2 additions and 0 deletions
|
@ -781,6 +781,8 @@ namespace MWMechanics
|
||||||
, mRepeat(wander->mData.mShouldRepeat)
|
, mRepeat(wander->mData.mShouldRepeat)
|
||||||
, mStoredInitialActorPosition(wander->mStoredInitialActorPosition)
|
, mStoredInitialActorPosition(wander->mStoredInitialActorPosition)
|
||||||
{
|
{
|
||||||
|
if (mStoredInitialActorPosition)
|
||||||
|
mInitialActorPosition = wander->mInitialActorPosition;
|
||||||
for (int i=0; i<8; ++i)
|
for (int i=0; i<8; ++i)
|
||||||
mIdle.push_back(wander->mData.mIdle[i]);
|
mIdle.push_back(wander->mData.mIdle[i]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue