1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Fix for AiWander state loading

This commit is contained in:
scrawl 2015-01-01 18:58:17 +01:00
parent 559ddbb480
commit 92e4a0669c

View File

@ -781,6 +781,8 @@ namespace MWMechanics
, mRepeat(wander->mData.mShouldRepeat)
, mStoredInitialActorPosition(wander->mStoredInitialActorPosition)
{
if (mStoredInitialActorPosition)
mInitialActorPosition = wander->mInitialActorPosition;
for (int i=0; i<8; ++i)
mIdle.push_back(wander->mData.mIdle[i]);