aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2011-10-20 23:14:21 +1100
committerPaul Gilbert2011-10-20 23:15:26 +1100
commit2545dd22aab5c14b74860c015572794063f7719c (patch)
tree3759731d8f0056768c5580ab419585124df07a71
parentfef94b810be9777da01695a57b9cd0983a339d37 (diff)
downloadscummvm-rg350-2545dd22aab5c14b74860c015572794063f7719c.tar.gz
scummvm-rg350-2545dd22aab5c14b74860c015572794063f7719c.tar.bz2
scummvm-rg350-2545dd22aab5c14b74860c015572794063f7719c.zip
TSAGE: Bugfix for displaying circuit breakers correctly in BF Scene 910
-rw-r--r--engines/tsage/blue_force/blueforce_scenes9.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes9.cpp b/engines/tsage/blue_force/blueforce_scenes9.cpp
index e9718fc556..5cbd7013e5 100644
--- a/engines/tsage/blue_force/blueforce_scenes9.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes9.cpp
@@ -1194,10 +1194,9 @@ void Scene910::BreakerBoxInset::postInit(SceneObjectList *OwnerList) {
_object22.setupBreaker(179, 59, 1, BF_GLOBALS._v4CECE[9]);
_object23.setupBreaker(187, 78, 2, BF_GLOBALS._v4CECE[10]);
_object24.setupBreaker(187, 84, 2, BF_GLOBALS._v4CECE[11]);
-/*
+
_object25.subEBBDC(178, 90, 1, BF_GLOBALS._v4CECE[12]);
_object26.subEBBDC(178, 108, 2, BF_GLOBALS._v4CECE[13]);
-*/
}
void Scene910::BreakerBoxInset::remove() {
@@ -1390,7 +1389,7 @@ void Scene910::Object13::setupBreaker(int x, int y, int mode, int8 frameNumber)
setFrame(frameNumber);
} else if (mode == 2) {
setStrip(7);
- setFrame(5);
+ setFrame(frameNumber + 5);
}
fixPriority(252);