mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-15 06:18:33 +00:00
ZVISION: Remove superfluous check
This commit is contained in:
parent
5a6f711d07
commit
1330cb7c99
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user