Skip to content

Commit

Permalink
TSAGE: Bugfix for displaying circuit breakers correctly in BF Scene 910
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 20, 2011
1 parent fef94b8 commit 2545dd2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions engines/tsage/blue_force/blueforce_scenes9.cpp
Expand Up @@ -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() {
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2545dd2

Please sign in to comment.