diff options
author | D G Turner | 2019-12-05 22:37:54 +0000 |
---|---|---|
committer | D G Turner | 2019-12-05 22:37:54 +0000 |
commit | 2050ae13b6519cfaf0e72db8a35ebdbd8c2e62eb (patch) | |
tree | 55c336476528f6c054a7a032d980b95dcf47a116 /engines/neverhood/modules/module1100_sprites.cpp | |
parent | 89353fb42721d2dd84e53a842e6fd0e600076ff0 (diff) | |
download | scummvm-rg350-2050ae13b6519cfaf0e72db8a35ebdbd8c2e62eb.tar.gz scummvm-rg350-2050ae13b6519cfaf0e72db8a35ebdbd8c2e62eb.tar.bz2 scummvm-rg350-2050ae13b6519cfaf0e72db8a35ebdbd8c2e62eb.zip |
NEVERHOOD: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/neverhood/modules/module1100_sprites.cpp')
-rw-r--r-- | engines/neverhood/modules/module1100_sprites.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/neverhood/modules/module1100_sprites.cpp b/engines/neverhood/modules/module1100_sprites.cpp index b5fd8490f6..2f9f098332 100644 --- a/engines/neverhood/modules/module1100_sprites.cpp +++ b/engines/neverhood/modules/module1100_sprites.cpp @@ -67,6 +67,8 @@ uint32 SsScene1105Button::handleMessage(int messageNum, const MessageParam ¶ setVisible(true); playSound(0, 0x44141000); break; + default: + break; } return messageResult; } @@ -99,6 +101,8 @@ uint32 SsScene1105SymbolDie::handleMessage(int messageNum, const MessageParam &p case NM_ANIMATION_UPDATE: loadSymbolSprite(); break; + default: + break; } return messageResult; } @@ -146,6 +150,8 @@ uint32 AsScene1105TeddyBear::handleMessage(int messageNum, const MessageParam &p sendMessage(_parentScene, 0x2003, 0); stopAnimation(); break; + default: + break; } return messageResult; } @@ -193,6 +199,8 @@ uint32 SsScene1105OpenButton::handleMessage(int messageNum, const MessageParam & } messageResult = 1; break; + default: + break; } return messageResult; } @@ -258,6 +266,8 @@ uint32 KmScene1109::xHandleMessage(int messageNum, const MessageParam ¶m) { case 0x483E: teleporterDisappear(0x3C2E4245); break; + default: + break; } return messageResult; } |