diff options
author | Filippos Karapetis | 2015-01-21 01:41:35 +0200 |
---|---|---|
committer | Filippos Karapetis | 2015-01-21 01:42:01 +0200 |
commit | 1330cb7c99478c67a722ff3bd35567dcd59f8fdf (patch) | |
tree | 64e6ed3bea31183d7089d3654b352f2ba2e1b246 /engines | |
parent | 5a6f711d07f64193692451c9969b661c094e2021 (diff) | |
download | scummvm-rg350-1330cb7c99478c67a722ff3bd35567dcd59f8fdf.tar.gz scummvm-rg350-1330cb7c99478c67a722ff3bd35567dcd59f8fdf.tar.bz2 scummvm-rg350-1330cb7c99478c67a722ff3bd35567dcd59f8fdf.zip |
ZVISION: Remove superfluous check
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/scripting/script_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/scripting/script_manager.cpp b/engines/zvision/scripting/script_manager.cpp index a4491103e6..d10cd81438 100644 --- a/engines/zvision/scripting/script_manager.cpp +++ b/engines/zvision/scripting/script_manager.cpp @@ -210,7 +210,7 @@ void ScriptManager::updateControls(uint deltaTimeMillis) { bool ScriptManager::checkPuzzleCriteria(Puzzle *puzzle, uint counter) { // Check if the puzzle is already finished // Also check that the puzzle isn't disabled - if (getStateValue(puzzle->key) == 1 || (getStateFlag(puzzle->key) & Puzzle::DISABLED) == Puzzle::DISABLED) { + if (getStateValue(puzzle->key) == 1 || (getStateFlag(puzzle->key) & Puzzle::DISABLED)) { return true; } |