mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Make sure AI data is initialized when loading actor records
This commit is contained in:
parent
91ec1d1c2c
commit
d1e0a10136
@ -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 New Issue
Block a user