mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-11 12:18:05 +00:00
ZVISION: Fix typo in Puzzle checking
This commit is contained in:
parent
435ed16e03
commit
387bfb2806
@ -84,7 +84,7 @@ void ScriptManager::checkPuzzleCriteria() {
|
||||
for (Common::List<Puzzle::Criteria>::iterator iter = puzzle->criteriaList.begin(); iter != puzzle->criteriaList.end(); iter++) {
|
||||
// Get the value to compare against
|
||||
uint argumentValue;
|
||||
if ((*iter).argument)
|
||||
if ((*iter).argumentIsAKey)
|
||||
argumentValue = getStateValue(iter->argument);
|
||||
else
|
||||
argumentValue = iter->argument;
|
||||
|
Loading…
x
Reference in New Issue
Block a user