From 9033f8db13b117fd8a78142cb244835d99777310 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 27 Nov 2015 22:41:39 +0100 Subject: MADS: Shut gcc warning. Requires checking --- engines/mads/phantom/game_phantom.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'engines/mads') diff --git a/engines/mads/phantom/game_phantom.cpp b/engines/mads/phantom/game_phantom.cpp index af2102b18f..27849cce1e 100644 --- a/engines/mads/phantom/game_phantom.cpp +++ b/engines/mads/phantom/game_phantom.cpp @@ -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); @@ -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; @@ -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; -- cgit v1.2.3