Merge pull request #2157 from akortunov/aifix

[0.45 regression] Init target for AI packages from old saves
pull/541/head
Bret Curtis 6 years ago committed by GitHub
commit af10e329f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,6 +48,7 @@ namespace AiSequence
{
esm.getHNT (mData, "DATA");
mTargetId = esm.getHNString("TARG");
mTargetActorId = -1;
esm.getHNOT (mTargetActorId, "TAID");
esm.getHNT (mRemainingDuration, "DURA");
mCellId = esm.getHNOString ("CELL");
@ -67,6 +68,7 @@ namespace AiSequence
{
esm.getHNT (mData, "DATA");
mTargetId = esm.getHNString("TARG");
mTargetActorId = -1;
esm.getHNOT (mTargetActorId, "TAID");
esm.getHNT (mRemainingDuration, "DURA");
mCellId = esm.getHNOString ("CELL");

Loading…
Cancel
Save