aboutsummaryrefslogtreecommitdiff
path: root/engines/lastexpress/entities/francois.cpp
diff options
context:
space:
mode:
authorLittleboy2013-11-23 19:07:15 -0500
committerLittleboy2013-12-10 01:54:56 -0500
commit1314c5c128873804446d10edaaf2f2bb4fbe1def (patch)
treee6ee641caabd52ac0810a88ca033cb98883277b6 /engines/lastexpress/entities/francois.cpp
parentf8c45b93a3e972ab728e1e15a38ec78e05147e79 (diff)
downloadscummvm-rg350-1314c5c128873804446d10edaaf2f2bb4fbe1def.tar.gz
scummvm-rg350-1314c5c128873804446d10edaaf2f2bb4fbe1def.tar.bz2
scummvm-rg350-1314c5c128873804446d10edaaf2f2bb4fbe1def.zip
LASTEXPRESS: Rename Object properties
Diffstat (limited to 'engines/lastexpress/entities/francois.cpp')
-rw-r--r--engines/lastexpress/entities/francois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lastexpress/entities/francois.cpp b/engines/lastexpress/entities/francois.cpp
index d2bbc9854c..12a0a37e99 100644
--- a/engines/lastexpress/entities/francois.cpp
+++ b/engines/lastexpress/entities/francois.cpp
@@ -202,7 +202,7 @@ IMPLEMENT_FUNCTION(9, Francois, function9)
break;
case kActionDefault:
- if (getObjects()->get(kObjectCompartmentD).location == kObjectLocation2) {
+ if (getObjects()->get(kObjectCompartmentD).status == kObjectLocation2) {
getObjects()->update(kObjectCompartmentD, kEntityPlayer, kObjectLocationNone, kCursorKeepValue, kCursorKeepValue);
getSavePoints()->push(kEntityFrancois, kEntityMmeBoutarel, kAction134289824);
setCallback(1);
@@ -238,7 +238,7 @@ IMPLEMENT_FUNCTION(10, Francois, function10)
break;
case kActionDefault:
- if (getObjects()->get(kObjectCompartmentD).location == kObjectLocation2) {
+ if (getObjects()->get(kObjectCompartmentD).status == kObjectLocation2) {
getObjects()->update(kObjectCompartmentD, kEntityPlayer, kObjectLocationNone, kCursorKeepValue, kCursorKeepValue);
setCallback(1);
setup_enterExitCompartment2("605Bd", kObjectCompartmentD);