TSAGE: BF - Cleanup: Use enum name where bookmark is set to value directly

This commit is contained in:
Strangerke
2011-11-09 07:42:24 +01:00
parent c4f2b045bc
commit e0bc00a488
@@ -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);
}