aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/screen.cpp')
-rw-r--r--engines/mads/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index ba6875205f..a2cc75f381 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -575,7 +575,7 @@ void ScreenObjects::elementHighlighted() {
if (currentPos.x > bounds.left)
newIndex = idx;
} else {
- if (currentPos.x > bounds.right)
+ if (currentPos.x < bounds.right)
newIndex = idx;
}
}