mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Init target for AI packages from old saves
This commit is contained in:
parent
97f410bc50
commit
442e9898e2
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…
Add table
Add a link
Reference in a new issue