diff options
| author | Paul Gilbert | 2017-11-10 15:35:33 -0500 |
|---|---|---|
| committer | Paul Gilbert | 2017-11-10 15:35:33 -0500 |
| commit | b73892e441bc3fde3b36f76aa675c59a652ca95c (patch) | |
| tree | 507ca8f56f19744d6f89e4f50c054c229d865011 /engines/xeen/dialogs.cpp | |
| parent | 1b955ae6daf8d4f21677faaad85214241034acbe (diff) | |
| download | scummvm-rg350-b73892e441bc3fde3b36f76aa675c59a652ca95c.tar.gz scummvm-rg350-b73892e441bc3fde3b36f76aa675c59a652ca95c.tar.bz2 scummvm-rg350-b73892e441bc3fde3b36f76aa675c59a652ca95c.zip | |
XEEN: Fix event handling for town messages
Diffstat (limited to 'engines/xeen/dialogs.cpp')
| -rw-r--r-- | engines/xeen/dialogs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/xeen/dialogs.cpp b/engines/xeen/dialogs.cpp index 3304689416..92082b4e0b 100644 --- a/engines/xeen/dialogs.cpp +++ b/engines/xeen/dialogs.cpp @@ -77,6 +77,11 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) { return true; } } + + if (Common::Rect(8, 8, 224, 135).contains(pt)) { + _buttonValue = 1; + return true; + } } else if (events.isKeyPending()) { Common::KeyState keyState; events.getKey(keyState); |
