aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood
diff options
context:
space:
mode:
authorFilippos Karapetis2013-12-25 19:13:04 +0200
committerFilippos Karapetis2013-12-25 19:13:04 +0200
commitda5cdd1c030ec6f7f9b41c3496700e47b8dadff1 (patch)
treeef21e001be165288a855c27d1b14dd0149938ab8 /engines/neverhood
parent43c226436c5cb466fa066cbb8fad46477d73e31e (diff)
downloadscummvm-rg350-da5cdd1c030ec6f7f9b41c3496700e47b8dadff1.tar.gz
scummvm-rg350-da5cdd1c030ec6f7f9b41c3496700e47b8dadff1.tar.bz2
scummvm-rg350-da5cdd1c030ec6f7f9b41c3496700e47b8dadff1.zip
NEVERHOOD: Move car to the correct position when entering a new scene
Diffstat (limited to 'engines/neverhood')
-rw-r--r--engines/neverhood/modules/module2700.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/neverhood/modules/module2700.cpp b/engines/neverhood/modules/module2700.cpp
index 5880c31c14..13c30048a4 100644
--- a/engines/neverhood/modules/module2700.cpp
+++ b/engines/neverhood/modules/module2700.cpp
@@ -955,14 +955,14 @@ Scene2704::Scene2704(NeverhoodEngine *vm, Module *parentModule, int which, uint3
if (testPoint.x > 0 && testPoint.x < 640 && testPoint.y > 0 && testPoint.y < 480)
sendMessage(_asCar, NM_CAR_ENTER, 0);
else
- sendMessage(_asCar, NM_CAR_MOVE_TO_PREV_POINT, 0);
+ sendMessage(_asCar, NM_CAR_MOVE_TO_PREV_POINT, 150);
} else {
NPoint testPoint = (*_trackPoints)[0];
sendMessage(_asCar, NM_POSITION_CHANGE, 0);
if (testPoint.x > 0 && testPoint.x < 640 && testPoint.y > 0 && testPoint.y < 480)
sendMessage(_asCar, NM_CAR_ENTER, 0);
else
- sendMessage(_asCar, NM_CAR_MOVE_TO_NEXT_POINT, 0);
+ sendMessage(_asCar, NM_CAR_MOVE_TO_NEXT_POINT, 150);
}
if (clipRect) {