From c006f405f3b9e7109ab5f0dd08671d26c582f886 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 13 Nov 2018 08:50:08 +0000 Subject: PEGASUS: Fix Fall Through Compiler Warnings. --- engines/pegasus/neighborhood/norad/delta/globegame.cpp | 2 ++ engines/pegasus/neighborhood/norad/delta/noraddelta.cpp | 2 ++ engines/pegasus/neighborhood/wsc/wsc.cpp | 4 ++++ 3 files changed, 8 insertions(+) (limited to 'engines/pegasus') diff --git a/engines/pegasus/neighborhood/norad/delta/globegame.cpp b/engines/pegasus/neighborhood/norad/delta/globegame.cpp index 15f8c2675d..2c339bd659 100644 --- a/engines/pegasus/neighborhood/norad/delta/globegame.cpp +++ b/engines/pegasus/neighborhood/norad/delta/globegame.cpp @@ -726,6 +726,8 @@ void GlobeGame::receiveNotification(Notification *notification, const Notificati kFilterNoInput, kSpotSoundCompletedFlag); break; } + // fall through + // FIXME: fall through intentional? case kPlayingTime: _gameState = kPlayingInstructions; _globeMovie.show(); diff --git a/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp b/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp index 3eb51c7af7..c01241d3ee 100644 --- a/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp +++ b/engines/pegasus/neighborhood/norad/delta/noraddelta.cpp @@ -193,6 +193,8 @@ void NoradDelta::getExtraCompassMove(const ExtraTable::Entry &entry, FaderMoveSp case kN59PlayerWins2: compassMove.makeTwoKnotFaderSpec(kNoradDeltaMovieScale, entry.movieStart, 270, entry.movieEnd, 280); compassMove.insertFaderKnot(entry.movieEnd - 1000, 270); + // fall through + // FIXME: fall through intentional? default: Norad::getExtraCompassMove(entry, compassMove); break; diff --git a/engines/pegasus/neighborhood/wsc/wsc.cpp b/engines/pegasus/neighborhood/wsc/wsc.cpp index cef0f37ce4..02336c050d 100644 --- a/engines/pegasus/neighborhood/wsc/wsc.cpp +++ b/engines/pegasus/neighborhood/wsc/wsc.cpp @@ -1567,6 +1567,8 @@ void WSC::arriveAt(const RoomID room, const DirectionConstant dir) { playSpotSoundSync(kPaging2In, kPaging2Out); GameState.setWSCHeardPage2(true); } + // fall through + // FIXME: fall through intentional? case MakeRoomView(kWSC10, kNorth): case MakeRoomView(kWSC26, kSouth): case MakeRoomView(kWSC72, kWest): @@ -1645,6 +1647,8 @@ void WSC::turnTo(const DirectionConstant direction) { playSpotSoundSync(kPaging1In, kPaging1Out); GameState.setWSCHeardPage1(true); } + // fall through + // FIXME: fall through intentional? // clone2727 says: This falls through?!??! WTF? case MakeRoomView(kWSC42, kEast): _privateFlags.setFlag(kWSCPrivateSinclairOfficeOpenFlag, false); -- cgit v1.2.3