[Scummvm-git-logs] scummvm branch-2-2 -> 6fdb5aeafe2758c4fe98a4f636dbc74406a51680
dreammaster
paulfgilbert at gmail.com
Mon Sep 28 05:25:00 UTC 2020
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
6fdb5aeafe NUVIE: Add missing breaks in Keybinder switch
Commit: 6fdb5aeafe2758c4fe98a4f636dbc74406a51680
https://github.com/scummvm/scummvm/commit/6fdb5aeafe2758c4fe98a4f636dbc74406a51680
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-27T22:24:51-07:00
Commit Message:
NUVIE: Add missing breaks in Keybinder switch
Changed paths:
engines/ultima/nuvie/keybinding/keys.cpp
diff --git a/engines/ultima/nuvie/keybinding/keys.cpp b/engines/ultima/nuvie/keybinding/keys.cpp
index c34a118178..fe27b8d187 100644
--- a/engines/ultima/nuvie/keybinding/keys.cpp
+++ b/engines/ultima/nuvie/keybinding/keys.cpp
@@ -702,21 +702,29 @@ void KeyBinder::set_axis(uint8 index, uint8 value) {
switch (index) {
case 0:
x_axis = value;
+ break;
case 1:
y_axis = value;
+ break;
case 2:
x_axis2 = value;
+ break;
case 3:
y_axis2 = value;
+ break;
case 4:
x_axis3 = value;
+ break;
case 5:
y_axis3 = value;
+ break;
case 6:
x_axis4 = value;
+ break;
case 7:
default:
y_axis4 = value;
+ break;
}
}
More information about the Scummvm-git-logs
mailing list