mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-01 07:45:36 +00:00
Convert AiWanderRepeat to bool in ActorAiRefIdAdapter::getNestedData()
This commit is contained in:
parent
68013bd324
commit
3a41fe5024
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue