aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress
diff options
context:
space:
mode:
authorFilippos Karapetis2011-11-03 22:33:34 +0200
committerFilippos Karapetis2011-11-03 22:33:34 +0200
commited257a351fbe4ce332296811619893013ffcdf8a (patch)
treebf7e65aea99a55608a4c24ecec6df27f2ed2fc84 /engines/lastexpress
parent26c5a1f3a4390a64bca109440c9f2023a0553bfe (diff)
downloadscummvm-rg350-ed257a351fbe4ce332296811619893013ffcdf8a.tar.gz
scummvm-rg350-ed257a351fbe4ce332296811619893013ffcdf8a.tar.bz2
scummvm-rg350-ed257a351fbe4ce332296811619893013ffcdf8a.zip
LASTEXPRESS: Fixed typo in code logic
Diffstat (limited to 'engines/lastexpress')
-rw-r--r--engines/lastexpress/entities/francois.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/entities/francois.cpp b/engines/lastexpress/entities/francois.cpp
index 2b170d93a3..46cd790ffb 100644
--- a/engines/lastexpress/entities/francois.cpp
+++ b/engines/lastexpress/entities/francois.cpp
@@ -450,7 +450,7 @@ label_callback:
if (isNight())
getAction()->playAnimation(getData()->entityPosition <= getEntityData(kEntityPlayer)->entityPosition ? kEventFrancoisWhistleNightD : kEventFrancoisWhistleNight);
else
- getAction()->playAnimation(getData()->entityPosition <= getEntityData(kEntityPlayer)->entityPosition ? kEventFrancoisWhistleD : kEventFrancoisWhistleD);
+ getAction()->playAnimation(getData()->entityPosition <= getEntityData(kEntityPlayer)->entityPosition ? kEventFrancoisWhistleD : kEventFrancoisWhistle);
}
getEntities()->loadSceneFromEntityPosition(getData()->car, (EntityPosition)(getData()->entityPosition + 750 * (getData()->direction == kDirectionUp ? -1 : 1)), getData()->direction == kDirectionUp);
break;