Skip to content

Commit

Permalink
MADS: Shut gcc warning. Requires checking
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Nov 27, 2015
1 parent a92ecf7 commit 9033f8d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions engines/mads/phantom/game_phantom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ void GamePhantom::doObjectAction() {
_vm->_dialogs->showItem(OBJ_BOOK, 815, 0);
action._inProgress = false;
return;
}
}

if (action.isAction(VERB_LOOK, NOUN_CRUMPLED_NOTE) || action.isAction(VERB_READ, NOUN_CRUMPLED_NOTE)) {
_vm->_dialogs->showItem(OBJ_CRUMPLED_NOTE, 816, 6);
Expand Down Expand Up @@ -870,6 +870,10 @@ void GamePhantom::setupCatacombs() {
_globals[kCatacombs501From] = 0;
break;

case DIFFICULTY_MEDIUM:
// TODO: FIXME. Do we need to set something here?
break;

case DIFFICULTY_HARD:
_catacombs = _hardCatacombs;
_catacombSize = 62;
Expand Down Expand Up @@ -924,7 +928,7 @@ void GamePhantom::newCatacombRoom(int toRoom, int fromExit) {

default:
error("Unexpected room in newCatacombRoom");
}
}
} else {
newSceneNum = _catacombs[toRoom]._sceneNum;
_globals[81] = _catacombs[toRoom]._flags;
Expand Down

0 comments on commit 9033f8d

Please sign in to comment.