aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/chapters.cpp
diff options
context:
space:
mode:
authorLittleboy2013-11-28 01:15:16 -0500
committerLittleboy2013-12-10 01:54:59 -0500
commitddcef239432c42b99badab232878e404fa892e01 (patch)
tree79ccc3012fcb477191475bbad771e7a6b4706989 /engines/lastexpress/entities/chapters.cpp
parente36786eb1bacc55f0b5ba29ac3278cd3b27a0e59 (diff)
downloadscummvm-rg350-ddcef239432c42b99badab232878e404fa892e01.tar.gz
scummvm-rg350-ddcef239432c42b99badab232878e404fa892e01.tar.bz2
scummvm-rg350-ddcef239432c42b99badab232878e404fa892e01.zip
LASTEXPRESS: Fix enum comparison
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 2aeca2bc35..6c8f7ca41c 100644
--- a/engines/lastexpress/entities/chapters.cpp
+++ b/engines/lastexpress/entities/chapters.cpp
@@ -1265,7 +1265,7 @@ label_exitPozsony:
break;
label_enterGalanta:
- if (getObjects()->get(kObjectCompartment1).model == kObjectLocation1) {
+ if (getObjects()->get(kObjectCompartment1).model == kObjectModel1) {
if (getState()->time > kTime2403000 && !CURRENT_PARAM(1, 2)) {
CURRENT_PARAM(1, 2) = 1;
getProgress().field_18 = 2;