diff options
Diffstat (limited to 'engines/wintermute/UIButton.cpp')
-rw-r--r-- | engines/wintermute/UIButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/UIButton.cpp b/engines/wintermute/UIButton.cpp index e2c13e80ba..70b2825027 100644 --- a/engines/wintermute/UIButton.cpp +++ b/engines/wintermute/UIButton.cpp @@ -588,7 +588,7 @@ HRESULT CUIButton::Display(int OffsetX, int OffsetY) { _hover = (!_disable && Game->_activeObject == this && (Game->_interactive || Game->_state == GAME_SEMI_FROZEN));
if ((_press && _hover && !Game->_mouseLeftDown) ||
- _oneTimePress && CBPlatform::GetTime() - _oneTimePressTime >= 100) Press();
+ (_oneTimePress && CBPlatform::GetTime() - _oneTimePressTime >= 100)) Press();
if (_disable) {
|