diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dm/eventman.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/engines/dm/eventman.cpp b/engines/dm/eventman.cpp index 96cda36747..437a02d01b 100644 --- a/engines/dm/eventman.cpp +++ b/engines/dm/eventman.cpp @@ -694,13 +694,16 @@ void EventManager::commandProcess81ClickInPanel(int16 x, int16 y) { if (commandType != kCommandNone) commandProcessCommands160To162ClickInResurrectReincarnatePanel(commandType); break; + default: + break; } } - bool EventManager::hasPendingClick(Common::Point& point, MouseButton button) - { - if (_pendingClickButton && button == _pendingClickButton) - point = _pendingClickPos; - return _pendingClickPresent; - } +bool EventManager::hasPendingClick(Common::Point& point, MouseButton button) { + if (_pendingClickButton && button == _pendingClickButton) + point = _pendingClickPos; + + return _pendingClickPresent; +} + }; // end of namespace DM |