aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision
diff options
context:
space:
mode:
authorrichiesams2013-08-11 15:05:38 -0500
committerrichiesams2013-08-11 15:05:38 -0500
commit9681d7515e769b4db2566b4c17328bb836fe9d41 (patch)
treed46e698fe5c97fa6ab4e4cb9ee0b3f222dee73ca /engines/zvision
parent9f0420e1cef30eaebdf28c32f70fe6467bb9a227 (diff)
downloadscummvm-rg350-9681d7515e769b4db2566b4c17328bb836fe9d41.tar.gz
scummvm-rg350-9681d7515e769b4db2566b4c17328bb836fe9d41.tar.bz2
scummvm-rg350-9681d7515e769b4db2566b4c17328bb836fe9d41.zip
ZVISION: Fix enum qualifiers
Diffstat (limited to 'engines/zvision')
-rw-r--r--engines/zvision/script_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/script_manager.cpp b/engines/zvision/script_manager.cpp
index 9faff18d3c..c8c6f6c621 100644
--- a/engines/zvision/script_manager.cpp
+++ b/engines/zvision/script_manager.cpp
@@ -107,8 +107,8 @@ void ScriptManager::checkPuzzleCriteria() {
// If it doesn't have the flag ONCE_PER_INST it can be done more than once
// Also check that the puzzle isn't disabled
if (getStateValue(puzzle->key) == 1 &&
- (puzzle->flags & Puzzle::StateFlags::ONCE_PER_INST) == Puzzle::StateFlags::ONCE_PER_INST &&
- (puzzle->flags & Puzzle::StateFlags::DISABLED) == 0) {
+ (puzzle->flags & Puzzle::ONCE_PER_INST) == Puzzle::ONCE_PER_INST &&
+ (puzzle->flags & Puzzle::DISABLED) == 0) {
continue;
}