diff options
author | Torbjörn Andersson | 2015-11-23 00:15:11 +0100 |
---|---|---|
committer | Torbjörn Andersson | 2015-11-23 00:15:55 +0100 |
commit | 9cf7d1ba608908c8a52d663e2bd894afe6b63df4 (patch) | |
tree | 67193f27ec99bfc7d604d71d98046619548fea51 /engines/mads/phantom | |
parent | 9dbaf8dd210041f0798acab4da1114ccbd58d7c9 (diff) | |
download | scummvm-rg350-9cf7d1ba608908c8a52d663e2bd894afe6b63df4.tar.gz scummvm-rg350-9cf7d1ba608908c8a52d663e2bd894afe6b63df4.tar.bz2 scummvm-rg350-9cf7d1ba608908c8a52d663e2bd894afe6b63df4.zip |
MADS: Silence two GCC warnings
The other warnings will require some further investigation.
Diffstat (limited to 'engines/mads/phantom')
-rw-r--r-- | engines/mads/phantom/game_phantom.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/phantom/game_phantom.cpp b/engines/mads/phantom/game_phantom.cpp index 7e61241182..597d404dc7 100644 --- a/engines/mads/phantom/game_phantom.cpp +++ b/engines/mads/phantom/game_phantom.cpp @@ -888,14 +888,14 @@ int GamePhantom::exitCatacombs(int dir) { int scene = _globals[kCatacombsRoom]; assert ((scene < _catacombSize) && (dir < 4)); return (_catacombs[scene]._exit[dir]); -}; +} void GamePhantom::moveCatacombs(int dir) { assert(_globals[kCatacombsRoom] = CLIP(_globals[kCatacombsRoom], 0, _catacombSize)); assert(dir = CLIP(dir, 0, 3)); newCatacombRoom(_catacombs[_globals[kCatacombsRoom]]._fromDirection[dir], _catacombs[_globals[kCatacombsRoom]]._exit[dir]); -}; +} void GamePhantom::newCatacombRoom(int toRoom, int fromExit) { _globals[kCatacombsNextRoom] = toRoom; |