diff options
author | D G Turner | 2019-10-17 00:47:34 +0100 |
---|---|---|
committer | D G Turner | 2019-10-17 00:47:34 +0100 |
commit | f7593adb3e778b733d300ff97216b2ff61439bbd (patch) | |
tree | 65685c5afad846ba3cd7a7f0bce1cc0cc2c80b88 /engines/cine/object.cpp | |
parent | de42a124ed21f412ef1a23b09a6a3954d0cb2df0 (diff) | |
download | scummvm-rg350-f7593adb3e778b733d300ff97216b2ff61439bbd.tar.gz scummvm-rg350-f7593adb3e778b733d300ff97216b2ff61439bbd.tar.bz2 scummvm-rg350-f7593adb3e778b733d300ff97216b2ff61439bbd.zip |
CINE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/cine/object.cpp')
-rw-r--r-- | engines/cine/object.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/object.cpp b/engines/cine/object.cpp index f014843f9d..5eabc79e8b 100644 --- a/engines/cine/object.cpp +++ b/engines/cine/object.cpp @@ -244,6 +244,8 @@ void modifyObjectParam(byte objIdx, byte paramIdx, int16 newValue) { case 6: g_cine->_objectTable[objIdx].part = newValue; break; + default: + break; } } @@ -310,6 +312,8 @@ int16 getObjectParam(uint16 objIdx, uint16 paramIdx) { return g_cine->_objectTable[objIdx].costume; case 5: return g_cine->_objectTable[objIdx].part; + default: + break; } return 0; |