mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-07 03:40:15 +00:00
Convert AiWanderRepeat to bool in ActorAiRefIdAdapter::getNestedData()
This commit is contained in:
parent
68013bd324
commit
3a41fe5024
@ -1466,7 +1466,7 @@ namespace CSMWorld
|
||||
return QVariant();
|
||||
case 5: // wander repeat
|
||||
if (content.mType == ESM::AI_Wander)
|
||||
return content.mWander.mShouldRepeat;
|
||||
return content.mWander.mShouldRepeat != 0;
|
||||
else
|
||||
return QVariant();
|
||||
case 6: // activate name
|
||||
|
Loading…
x
Reference in New Issue
Block a user