aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorStrangerke2011-11-09 07:42:24 +0100
committerStrangerke2011-11-09 07:42:24 +0100
commite0bc00a4881d07eb004bd6ca33faed9eb97747b1 (patch)
treee810bd004945815372b54f5dcd5fad69351018d8 /engines/tsage
parentc4f2b045bcb2491cb01a3b5ab61024c226c222ea (diff)
downloadscummvm-rg350-e0bc00a4881d07eb004bd6ca33faed9eb97747b1.tar.gz
scummvm-rg350-e0bc00a4881d07eb004bd6ca33faed9eb97747b1.tar.bz2
scummvm-rg350-e0bc00a4881d07eb004bd6ca33faed9eb97747b1.zip
TSAGE: BF - Cleanup: Use enum name where bookmark is set to value directly
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes9.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes9.cpp b/engines/tsage/blue_force/blueforce_scenes9.cpp
index a317cbc008..61aefd6534 100644
--- a/engines/tsage/blue_force/blueforce_scenes9.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes9.cpp
@@ -2885,7 +2885,7 @@ void Scene910::subE82BD() {
void Scene910::subE83E1() {
if (BF_GLOBALS._v4CEE0 != 0) {
_fakeWall.show();
- if ((BF_GLOBALS._bookmark == 21) && (!BF_GLOBALS.getFlag(fGotPointsForOpeningDoor))) {
+ if ((BF_GLOBALS._bookmark == bEndDayThree) && (!BF_GLOBALS.getFlag(fGotPointsForOpeningDoor))) {
T2_GLOBALS._uiElements.addScore(30);
BF_GLOBALS.setFlag(fGotPointsForOpeningDoor);
}