diff options
author | D G Turner | 2019-11-28 02:10:52 +0000 |
---|---|---|
committer | D G Turner | 2019-11-28 02:10:52 +0000 |
commit | 27d26a49ea20e67a179197e5607c4d40200b50d6 (patch) | |
tree | db6cb94be61db41689750d03ea71618153c3c599 /engines/tsage/ringworld/ringworld_scenes2.cpp | |
parent | 2f8bf11a434f7126e01a1695a76bcec65116c1d5 (diff) | |
download | scummvm-rg350-27d26a49ea20e67a179197e5607c4d40200b50d6.tar.gz scummvm-rg350-27d26a49ea20e67a179197e5607c4d40200b50d6.tar.bz2 scummvm-rg350-27d26a49ea20e67a179197e5607c4d40200b50d6.zip |
TSAGE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/tsage/ringworld/ringworld_scenes2.cpp')
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes2.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/engines/tsage/ringworld/ringworld_scenes2.cpp b/engines/tsage/ringworld/ringworld_scenes2.cpp index 6811d3c3e8..aeaa9d6818 100644 --- a/engines/tsage/ringworld/ringworld_scenes2.cpp +++ b/engines/tsage/ringworld/ringworld_scenes2.cpp @@ -66,6 +66,8 @@ void Scene1000::Action1::signal() { case 3: g_globals->_sceneManager.changeScene(1400); break; + default: + break; } } @@ -509,6 +511,8 @@ void Scene1001::Action1::signal() { case 24: g_globals->_sceneManager.changeScene(2000); break; + default: + break; } } @@ -551,6 +555,8 @@ void Scene1250::Action1::signal() { scene->_object1.animate(ANIM_MODE_5, this); _actionIndex = 0; break; + default: + break; } } @@ -569,6 +575,8 @@ void Scene1250::Action2::signal() { case 2: scene->_object2.setPosition(Common::Point(267, 20)); break; + default: + break; } setDelay(30); @@ -577,6 +585,8 @@ void Scene1250::Action2::signal() { scene->_object2.animate(ANIM_MODE_5, this); _actionIndex = 0; break; + default: + break; } } @@ -596,6 +606,8 @@ void Scene1250::Action3::signal() { case 3: g_globals->_sceneManager.changeScene(1000); break; + default: + break; } } @@ -615,6 +627,8 @@ void Scene1250::Action4::signal() { case 3: g_globals->_sceneManager.changeScene(2000); break; + default: + break; } } @@ -742,6 +756,8 @@ void Scene1400::Action1::signal() { g_globals->_sceneManager.changeScene(1500); break; + default: + break; } } @@ -863,6 +879,8 @@ void Scene1500::Action1::signal() { g_globals->_soundHandler.play(127); g_globals->_sceneManager.changeScene(2000); break; + default: + break; } } @@ -901,6 +919,8 @@ void Scene1500::Action2::signal() { g_globals->_stripNum = 1505; g_globals->_sceneManager.changeScene(2400); break; + default: + break; } } |