aboutsummaryrefslogtreecommitdiff
path: root/simon/simon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/simon.cpp')
-rw-r--r--simon/simon.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index a10a77aada..45aaf88c18 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -1761,9 +1761,11 @@ void SimonEngine::f10_key() {
timer_vga_sprites();
do {
- if (ha->id != 0 && ha->flags & 0x20 && !(ha->flags & 0x40) && ha->flags & 1) {
- if (_game & GF_SIMON2)
- if (ha->y >= 0xc8 || ha->y >= _vga_var8)
+ if (ha->id != 0 && ha->flags & 0x20 && !(ha->flags & 0x40)) {
+
+ /* XXX: add code to skip inventory and verbs area */
+
+ if (ha->y >= 0xc8)
continue;
y_ = (ha->height >> 1) - 4 + ha->y;