diff options
-rw-r--r-- | engines/simon/vga.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/engines/simon/vga.cpp b/engines/simon/vga.cpp index 5ff6281663..e026223b17 100644 --- a/engines/simon/vga.cpp +++ b/engines/simon/vga.cpp @@ -2266,25 +2266,11 @@ void SimonEngine::vc72_play_track_2() { } void SimonEngine::vc73_setMark() { - uint16 bit; - - if (getGameType() == GType_FF) - bit = vcReadNextWord(); - else - bit = vcReadNextByte(); - - _marks |= 1 << bit; + _marks |= (1 << vcReadNextWord()); } void SimonEngine::vc74_clearMark() { - uint16 bit; - - if (getGameType() == GType_FF) - bit = vcReadNextWord(); - else - bit = vcReadNextByte(); - - _marks &= ~(1 << bit); + _marks &= ~(1 << vcReadNextWord()); } int SimonEngine::getScale(int y, int x) { |