diff options
author | D G Turner | 2019-10-24 02:04:53 +0100 |
---|---|---|
committer | D G Turner | 2019-10-24 02:04:53 +0100 |
commit | 008e2b85b612f3bd4c953201fba33e000451fb2c (patch) | |
tree | 261f7ae470b32685dd4960c989a52b0d7e35760e /engines/zvision/scripting/controls/lever_control.cpp | |
parent | 4d97f7581abe50049f563097174e16643f6e6054 (diff) | |
download | scummvm-rg350-008e2b85b612f3bd4c953201fba33e000451fb2c.tar.gz scummvm-rg350-008e2b85b612f3bd4c953201fba33e000451fb2c.tar.bz2 scummvm-rg350-008e2b85b612f3bd4c953201fba33e000451fb2c.zip |
ZVISION: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/zvision/scripting/controls/lever_control.cpp')
-rw-r--r-- | engines/zvision/scripting/controls/lever_control.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/zvision/scripting/controls/lever_control.cpp b/engines/zvision/scripting/controls/lever_control.cpp index 553b5ec8c2..fb88f2fe02 100644 --- a/engines/zvision/scripting/controls/lever_control.cpp +++ b/engines/zvision/scripting/controls/lever_control.cpp @@ -360,6 +360,8 @@ int LeverControl::calculateVectorAngle(const Common::Point &pointOne, const Comm case 3: angle = 180 + angle; break; + default: + break; } return angle; |