mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 09:15:38 +00:00
Init target for AI packages from old saves
This commit is contained in:
parent
bc1fbd5400
commit
573b3f4f1d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue