mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-29 08:00:56 -04:00
Convert AiWanderRepeat to bool in ActorAiRefIdAdapter::getNestedData()
This commit is contained in:
parent
b7295e2632
commit
6d81ca07b5
@ -1566,7 +1566,7 @@ namespace CSMWorld
|
|||||||
return QVariant();
|
return QVariant();
|
||||||
case 5: // wander repeat
|
case 5: // wander repeat
|
||||||
if (content.mType == ESM::AI_Wander)
|
if (content.mType == ESM::AI_Wander)
|
||||||
return content.mWander.mShouldRepeat;
|
return content.mWander.mShouldRepeat != 0;
|
||||||
else
|
else
|
||||||
return QVariant();
|
return QVariant();
|
||||||
case 6: // activate name
|
case 6: // activate name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user