aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorEugene Sandulenko2015-11-27 22:41:39 +0100
committerEugene Sandulenko2015-11-27 22:41:39 +0100
commit9033f8db13b117fd8a78142cb244835d99777310 (patch)
treead22bc7dd02db1c2fa1118f08a3e092784c74767 /engines/mads
parenta92ecf7b5388c03cd9e899645da2430caaf89e60 (diff)
downloadscummvm-rg350-9033f8db13b117fd8a78142cb244835d99777310.tar.gz
scummvm-rg350-9033f8db13b117fd8a78142cb244835d99777310.tar.bz2
scummvm-rg350-9033f8db13b117fd8a78142cb244835d99777310.zip
MADS: Shut gcc warning. Requires checking
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/phantom/game_phantom.cpp8
1 files changed, 6 insertions, 2 deletions
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;