aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/chapters.cpp
diff options
context:
space:
mode:
authorJulien Templier2010-10-21 23:38:35 +0000
committerJulien Templier2010-10-21 23:38:35 +0000
commita621302a719d384560fd8f2765639a948ef0cee9 (patch)
treee9ea8d6b3a35638e74738c8a8f7c20b6a8b48be2 /engines/lastexpress/entities/chapters.cpp
parent521eb95aea5160c08965f568518f51513b1a74ac (diff)
downloadscummvm-rg350-a621302a719d384560fd8f2765639a948ef0cee9.tar.gz
scummvm-rg350-a621302a719d384560fd8f2765639a948ef0cee9.tar.bz2
scummvm-rg350-a621302a719d384560fd8f2765639a948ef0cee9.zip
LASTEXPRESS: Implement 10 more AI logic functions
svn-id: r53680
Diffstat (limited to 'engines/lastexpress/entities/chapters.cpp')
-rw-r--r--engines/lastexpress/entities/chapters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lastexpress/entities/chapters.cpp b/engines/lastexpress/entities/chapters.cpp
index 31b4dbd654..d145eb6073 100644
--- a/engines/lastexpress/entities/chapters.cpp
+++ b/engines/lastexpress/entities/chapters.cpp
@@ -1673,7 +1673,7 @@ IMPLEMENT_FUNCTION(22, Chapters, chapter5Handler)
if (getState()->time > kTimeTrainStopped2 && !params->param3) {
params->param3 = 1;
- if (!getEvent(kEventLocomotiveMilos) && !getEvent(kEventLocomotiveMilosNight)) {
+ if (!getEvent(kEventLocomotiveMilosDay) && !getEvent(kEventLocomotiveMilosNight)) {
getSound()->playSound(kEntityChapters, "ARRIVE", SoundManager::kFlag8);
getSound()->processEntries();
}