diff options
author | D G Turner | 2018-11-13 08:50:08 +0000 |
---|---|---|
committer | D G Turner | 2018-11-13 08:50:08 +0000 |
commit | c006f405f3b9e7109ab5f0dd08671d26c582f886 (patch) | |
tree | 9a4af362b932c3bd44e19a729b372c4a47696999 /engines/pegasus/neighborhood | |
parent | 2f9ffda45673c7c240577600fc2499035fb25659 (diff) | |
download | scummvm-rg350-c006f405f3b9e7109ab5f0dd08671d26c582f886.tar.gz scummvm-rg350-c006f405f3b9e7109ab5f0dd08671d26c582f886.tar.bz2 scummvm-rg350-c006f405f3b9e7109ab5f0dd08671d26c582f886.zip |
PEGASUS: Fix Fall Through Compiler Warnings.
Diffstat (limited to 'engines/pegasus/neighborhood')
-rw-r--r-- | engines/pegasus/neighborhood/norad/delta/globegame.cpp | 2 | ||||
-rw-r--r-- | engines/pegasus/neighborhood/norad/delta/noraddelta.cpp | 2 | ||||
-rw-r--r-- | engines/pegasus/neighborhood/wsc/wsc.cpp | 4 |
3 files changed, 8 insertions, 0 deletions
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); |