diff options
author | Paul Gilbert | 2018-05-30 18:15:50 -0400 |
---|---|---|
committer | Paul Gilbert | 2018-05-30 18:15:50 -0400 |
commit | b191cbf90967b59f075dbf5f51a5c6fb5587bfc7 (patch) | |
tree | 3b23a9bc2b02ff40339e9c5a67a3a1096af8055d /engines/xeen/dialogs/dialogs.cpp | |
parent | 34d73a56310f61a580949f91574b22b176f23308 (diff) | |
download | scummvm-rg350-b191cbf90967b59f075dbf5f51a5c6fb5587bfc7.tar.gz scummvm-rg350-b191cbf90967b59f075dbf5f51a5c6fb5587bfc7.tar.bz2 scummvm-rg350-b191cbf90967b59f075dbf5f51a5c6fb5587bfc7.zip |
XEEN: Stop re-rolling new character stats when some areas of screen clicked
Diffstat (limited to 'engines/xeen/dialogs/dialogs.cpp')
-rw-r--r-- | engines/xeen/dialogs/dialogs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/xeen/dialogs/dialogs.cpp b/engines/xeen/dialogs/dialogs.cpp index 1b99ec6978..d5c732e51a 100644 --- a/engines/xeen/dialogs/dialogs.cpp +++ b/engines/xeen/dialogs/dialogs.cpp @@ -67,7 +67,6 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) { Party &party = *vm->_party; Windows &windows = *_vm->_windows; PendingEvent event; - const Common::Rect WAIT_BOUNDS(8, 8, 224, 140); _buttonValue = 0; if (events.getEvent(event)) { @@ -94,7 +93,7 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) { } } - if (!_buttonValue && WAIT_BOUNDS.contains(pt)) { + if (!_buttonValue && _waitBounds.contains(pt)) { _buttonValue = Common::KEYCODE_SPACE; return true; } |