ASYLUM: fix kOpcodeSetCounterFromActorReactions

This commit is contained in:
alxpnv 2021-03-22 12:19:10 +03:00 committed by Eugene Sandulenko
parent 0a594dad99
commit ab69b65e6a
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -1647,7 +1647,7 @@ void Encounter::runScript() {
break;
case kOpcodeSetCounterFromActorReactions:
_scriptData.counter = getScene()->getActor()->hasMoreReactions(getVariableInv(entry.param2), _scriptData.vars[1]) ? 1 : 0;
_scriptData.counter = getScene()->getActor()->hasMoreReactions(getVariableInv(entry.param2), _scriptData.vars[1]) ? 0 : 1;
break;
case kOpcodePrepareMovie: