mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
MTROPOLIS: Fix incorrect dereference result handling
This commit is contained in:
parent
fcf0a79709
commit
6c8555749c
@ -1931,8 +1931,9 @@ bool MiniscriptThread::evaluateTruthOfResult(bool &isTrue) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!dereferenceRValue(0, false)) {
|
||||
this->error("Failed to dereference Miniscript RValue for truth evaluation");
|
||||
MiniscriptInstructionOutcome outcome = dereferenceRValue(0, false);
|
||||
if (outcome != kMiniscriptInstructionOutcomeContinue) {
|
||||
this->error("Miniscript program result couldn't be dereferenced");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user