aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/simon.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp
index 2e17a725c1..85d27cf134 100644
--- a/engines/simon/simon.cpp
+++ b/engines/simon/simon.cpp
@@ -4153,13 +4153,21 @@ void SimonEngine::delay(uint amount) {
_sdlMouseY = event.mouse.y;
break;
case OSystem::EVENT_LBUTTONDOWN:
+ if (getGameType() == GType_FF)
+ _bitArray[5] |= 0x0200;
_leftButtonDown++;
#if defined (_WIN32_WCE) || defined(PALMOS_MODE)
_sdlMouseX = event.mouse.x;
_sdlMouseY = event.mouse.y;
#endif
break;
+ case OSystem::EVENT_LBUTTONUP:
+ if (getGameType() == GType_FF)
+ _bitArray[5] &= ~0x0200;
+ break;
case OSystem::EVENT_RBUTTONDOWN:
+ if (getGameType() == GType_FF)
+ _bitArray[5] &= ~0x1000;
if (getGameType() == GType_SIMON2 || getGameType() == GType_FF)
_skipSpeech = true;
else