diff options
author | D G Turner | 2019-12-01 21:41:21 +0000 |
---|---|---|
committer | D G Turner | 2019-12-01 21:41:21 +0000 |
commit | b7c397412dd2cd5aa81723fa31d9e13ee83e1493 (patch) | |
tree | b66ad2c612f20719459d55c403b57d02cc006bde /engines/pegasus/neighborhood/tsa/tinytsa.cpp | |
parent | 64eb072103dcb4789858470ac9d40d4c6f3b8841 (diff) | |
download | scummvm-rg350-b7c397412dd2cd5aa81723fa31d9e13ee83e1493.tar.gz scummvm-rg350-b7c397412dd2cd5aa81723fa31d9e13ee83e1493.tar.bz2 scummvm-rg350-b7c397412dd2cd5aa81723fa31d9e13ee83e1493.zip |
PEGASUS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/pegasus/neighborhood/tsa/tinytsa.cpp')
-rw-r--r-- | engines/pegasus/neighborhood/tsa/tinytsa.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/tsa/tinytsa.cpp b/engines/pegasus/neighborhood/tsa/tinytsa.cpp index 33ef10641f..ce0e5cfc05 100644 --- a/engines/pegasus/neighborhood/tsa/tinytsa.cpp +++ b/engines/pegasus/neighborhood/tsa/tinytsa.cpp @@ -251,6 +251,8 @@ void TinyTSA::clickInHotspot(const Input &input, const Hotspot *clickedSpot) { requestExtraSequence(kTinyTSA37WSCToDepart, 0, kFilterNoInput); requestExtraSequence(kTinyTSA37PegasusDepart, kExtraCompletedFlag, kFilterNoInput); return; + default: + break; } } @@ -287,6 +289,8 @@ void TinyTSA::arriveAt(const RoomID room, const DirectionConstant direction) { case kPlayerLockedInPegasus: showMainJumpMenu(); break; + default: + break; } } @@ -362,6 +366,8 @@ void TinyTSA::receiveNotification(Notification *notification, const Notification GameState.setWSCRobotDead(false); GameState.setWSCRobotGone(false); break; + default: + break; }; break; case kTinyTSA37TimeJumpToPegasus: @@ -394,6 +400,8 @@ void TinyTSA::receiveNotification(Notification *notification, const Notification case kPlayerOnWayToWSC: g_opticalChip->playOpMemMovie(kMercurySpotID); break; + default: + break; } } @@ -419,6 +427,8 @@ void TinyTSA::receiveNotification(Notification *notification, const Notification case kTinyTSA37CancelWSC: showMainJumpMenu(); break; + default: + break; } } |