diff options
author | Travis Howell | 2006-04-09 13:12:59 +0000 |
---|---|---|
committer | Travis Howell | 2006-04-09 13:12:59 +0000 |
commit | 5cd18ccad35cd87a5550bbe706be993d35b941cc (patch) | |
tree | 6a7dac81e60cd7e2ba1ff8080bb39de512424e30 /engines/simon | |
parent | 8e7e50397923f5d0519db452b51f62f39c3764e5 (diff) | |
download | scummvm-rg350-5cd18ccad35cd87a5550bbe706be993d35b941cc.tar.gz scummvm-rg350-5cd18ccad35cd87a5550bbe706be993d35b941cc.tar.bz2 scummvm-rg350-5cd18ccad35cd87a5550bbe706be993d35b941cc.zip |
Fix hitareas when scrolling in oracle of FF
svn-id: r21725
Diffstat (limited to 'engines/simon')
-rw-r--r-- | engines/simon/verb.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/simon/verb.cpp b/engines/simon/verb.cpp index 2b12794ae3..95a13cd215 100644 --- a/engines/simon/verb.cpp +++ b/engines/simon/verb.cpp @@ -359,8 +359,13 @@ void SimonEngine::set_hitarea_bit_0x40(uint hitarea) { void SimonEngine::moveBox(uint hitarea, int x, int y) { HitArea *ha = findHitAreaByID(hitarea); if (ha != NULL) { - ha->x = x; - ha->y = y; + if (getGameType() == GType_FF) { + ha->x += x; + ha->y += y; + } else { + ha->x = x; + ha->y = y; + } } } |