aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/simon/verb.cpp9
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;
+ }
}
}