aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-08-22 22:54:39 +0200
committerStrangerke2013-08-22 22:54:39 +0200
commit00109d28d599ab795e36a262214ff99dd836eaee (patch)
tree6171df5b2f048af81bd12d31bdd813665ddba0af
parent7b3a7c2165bbddff707196b40b8a1e23e288148b (diff)
downloadscummvm-rg350-00109d28d599ab795e36a262214ff99dd836eaee.tar.gz
scummvm-rg350-00109d28d599ab795e36a262214ff99dd836eaee.tar.bz2
scummvm-rg350-00109d28d599ab795e36a262214ff99dd836eaee.zip
TSAGE: R2R - Fix invalid call to getObjectScene()
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index c7ef5bc4e1..4186fc3dd1 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -9868,7 +9868,7 @@ void Scene1580::postInit(SceneObjectList *OwnerList) {
}
_actor4.postInit();
- if (R2_INVENTORY.getObjectScene(58) == 0) {
+ if (R2_GLOBALS.getFlag(58) == 0) {
_actor4.setup(1580, 5, 1);
_actor4.setDetails(1550, 80, -1, -1, 1, (SceneItem *) NULL);
} else {