diff options
author | Torbjörn Andersson | 2011-09-15 05:49:45 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2011-09-15 05:49:45 +0200 |
commit | fc6fce22212fad5a9c8d15f0b8649eed3b0104b4 (patch) | |
tree | 0f6ce46c996d28bfdccdf42a985fee7e089606b4 /engines/tsage | |
parent | f803fa89aedb085570c41da836b35515c7cdf68b (diff) | |
download | scummvm-rg350-fc6fce22212fad5a9c8d15f0b8649eed3b0104b4.tar.gz scummvm-rg350-fc6fce22212fad5a9c8d15f0b8649eed3b0104b4.tar.bz2 scummvm-rg350-fc6fce22212fad5a9c8d15f0b8649eed3b0104b4.zip |
TSAGE: Silence GCC warnings
Diffstat (limited to 'engines/tsage')
-rw-r--r-- | engines/tsage/blue_force/blueforce_scenes0.cpp | 2 | ||||
-rw-r--r-- | engines/tsage/blue_force/blueforce_ui.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes0.cpp b/engines/tsage/blue_force/blueforce_scenes0.cpp index ac8fe46096..35cccdf328 100644 --- a/engines/tsage/blue_force/blueforce_scenes0.cpp +++ b/engines/tsage/blue_force/blueforce_scenes0.cpp @@ -567,7 +567,7 @@ bool Scene60::Ignition::check1() { else BF_GLOBALS._v5098C |= 2; } else { - int v = ((BF_GLOBALS._v5098C >> 2) & 15 + 1) & 15; + int v = (((BF_GLOBALS._v5098C >> 2) & 15) + 1) & 15; BF_GLOBALS._v5098C = (BF_GLOBALS._v5098C & 0xC3) | (v << 2); if ((v != 1) && (v != 2)) { diff --git a/engines/tsage/blue_force/blueforce_ui.cpp b/engines/tsage/blue_force/blueforce_ui.cpp index 75ab9a60a4..89a7d85f89 100644 --- a/engines/tsage/blue_force/blueforce_ui.cpp +++ b/engines/tsage/blue_force/blueforce_ui.cpp @@ -203,6 +203,8 @@ void UIInventoryScroll::process(Event &event) { // Scroll the inventory as necessary BF_GLOBALS._uiElements.scrollInventory(_isLeft); event.handled = true; + break; + default: break; } } |