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/mars/spacejunk.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/mars/spacejunk.cpp')
-rw-r--r-- | engines/pegasus/neighborhood/mars/spacejunk.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/mars/spacejunk.cpp b/engines/pegasus/neighborhood/mars/spacejunk.cpp index 80914b476c..52753882b1 100644 --- a/engines/pegasus/neighborhood/mars/spacejunk.cpp +++ b/engines/pegasus/neighborhood/mars/spacejunk.cpp @@ -167,6 +167,8 @@ void SpaceJunk::rebound(const TimeValue reboundTime) { _bounceStop.x = 640 - kMaxBounceSize / 2 + 1; _bounceStop.y = kMaxBounceSize / 2 + 1 + vm->getRandomNumber(kBounceTargetVRange - 1); break; + default: + break; } _bounceSizeStart = bounds.width(); |