aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/blue_force
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/blue_force')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes0.cpp2
-rw-r--r--engines/tsage/blue_force/blueforce_ui.cpp2
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;
}
}