aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2003-08-06 05:47:49 +0000
committerTravis Howell2003-08-06 05:47:49 +0000
commit43a1d35064d048895edf6211831e700b8f79a118 (patch)
tree5ba52925d12030eefca55175e4a5b5810b03a04f /simon
parent0c3c6094420787c4f4cbd86a0ebe41c2ade838ee (diff)
downloadscummvm-rg350-43a1d35064d048895edf6211831e700b8f79a118.tar.gz
scummvm-rg350-43a1d35064d048895edf6211831e700b8f79a118.tar.bz2
scummvm-rg350-43a1d35064d048895edf6211831e700b8f79a118.zip
Reverted too much
Add note about missing code in simon svn-id: r9531
Diffstat (limited to 'simon')
-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;