[Scummvm-git-logs] scummvm master -> 3bf6396295f1b17a56b6685e66a002e389f4a598

dreammaster paulfgilbert at gmail.com
Mon Sep 28 05:24:29 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:
3bf6396295 NUVIE: Add missing breaks in Keybinder switch


Commit: 3bf6396295f1b17a56b6685e66a002e389f4a598
    https://github.com/scummvm/scummvm/commit/3bf6396295f1b17a56b6685e66a002e389f4a598
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-09-27T22:24:19-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