mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 15:15:31 +00:00
Make sure AI data is initialized when loading actor records
This commit is contained in:
parent
91ec1d1c2c
commit
d1e0a10136
2 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ namespace ESM {
|
|||
|
||||
mScale = 1.f;
|
||||
mHasAI = false;
|
||||
mAiData.blank();
|
||||
|
||||
bool hasName = false;
|
||||
bool hasNpdt = false;
|
||||
|
@ -160,7 +161,6 @@ namespace ESM {
|
|||
mSpells.mList.clear();
|
||||
mHasAI = false;
|
||||
mAiData.blank();
|
||||
mAiData.mServices = 0;
|
||||
mAiPackage.mList.clear();
|
||||
mTransport.mList.clear();
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@ namespace ESM
|
|||
mInventory.mList.clear();
|
||||
mTransport.mList.clear();
|
||||
mAiPackage.mList.clear();
|
||||
mAiData.blank();
|
||||
mHasAI = false;
|
||||
|
||||
bool hasName = false;
|
||||
|
|
Loading…
Reference in a new issue