1
0
Fork 0
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:
Stanislav Bas 2015-08-21 22:55:58 +03:00 committed by cc9cii
parent 68013bd324
commit 3a41fe5024

View file

@ -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