[Scummvm-git-logs] scummvm master -> 20fd0266eb50dc4aba0c615e0f2d6035225c4b32
bluegr
noreply at scummvm.org
Wed Feb 11 17:51:01 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
20fd0266eb JANITORIAL: NUVIE: resolve global constructor
Commit: 20fd0266eb50dc4aba0c615e0f2d6035225c4b32
https://github.com/scummvm/scummvm/commit/20fd0266eb50dc4aba0c615e0f2d6035225c4b32
Author: Michael Kuerbis (michael_kuerbis at web.de)
Date: 2026-02-11T19:50:57+02:00
Commit Message:
JANITORIAL: NUVIE: resolve global constructor
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 5fb587a7157..33a3906c81d 100644
--- a/engines/ultima/nuvie/keybinding/keys.cpp
+++ b/engines/ultima/nuvie/keybinding/keys.cpp
@@ -66,7 +66,8 @@ struct Action {
const char *const appendAltCodeActionStr = "ALT_CODE";
const char *const toggleAltCodeModeActionStr = "TOGGLE_ALT_CODE_MODE";
-const uint toggleAltCodeModeEventID = Common::hashit(toggleAltCodeModeActionStr); // to identify END (KEYUP) events for alt-code mode toggle action
+// toggleAltCodeModeEventID = Common::hashit(toggleAltCodeModeActionStr)
+const uint toggleAltCodeModeEventID = 1810543662; // to identify END (KEYUP) events for alt-code mode toggle action
const Action NuvieActions[] = {
{ "WALK_WEST", ActionWalkWest, Action::KeyNormal, true, WEST_KEY },
@@ -353,6 +354,8 @@ KeyBinder::KeyBinder(const Configuration *config) : enable_joystick(false) {
next_axes_pair4_update = next_joy_repeat_time = 0;
AddIosBindings();
+
+ assert(toggleAltCodeModeEventID == Common::hashit(toggleAltCodeModeActionStr));
}
void KeyBinder::AddIosBindings()
More information about the Scummvm-git-logs
mailing list