aboutsummaryrefslogtreecommitdiff
path: root/engines/wage
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-14 08:47:46 +0100
committerEugene Sandulenko2016-01-14 08:47:46 +0100
commit3dc92233997b86990665fee972487faf5de99bde (patch)
tree0b827c2ef16e84f18352e7ccb2e89dbdab2fb186 /engines/wage
parent7c04b4ddf7b464fa89a7e17279a995da15c3a5bf (diff)
downloadscummvm-rg350-3dc92233997b86990665fee972487faf5de99bde.tar.gz
scummvm-rg350-3dc92233997b86990665fee972487faf5de99bde.tar.bz2
scummvm-rg350-3dc92233997b86990665fee972487faf5de99bde.zip
WAGE: Deactivate submenu on hovering away
Diffstat (limited to 'engines/wage')
-rw-r--r--engines/wage/menu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp
index 094eea1f75..713f3bcc0d 100644
--- a/engines/wage/menu.cpp
+++ b/engines/wage/menu.cpp
@@ -367,6 +367,10 @@ bool Menu::mouseClick(int x, int y) {
renderSubmenu(_items[_activeItem]);
}
+ } else if (_menuActivated && _activeItem != -1) {
+ _activeSubItem = -1;
+
+ renderSubmenu(_items[_activeItem]);
}
return false;