From 9cf7d1ba608908c8a52d663e2bd894afe6b63df4 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 23 Nov 2015 00:15:11 +0100 Subject: MADS: Silence two GCC warnings The other warnings will require some further investigation. --- engines/mads/phantom/game_phantom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3