[Scummvm-git-logs] scummvm master -> b875b0d4ee4f10a7b5b2cde7be87e0ca877ca1e3

mduggan noreply at scummvm.org
Mon Dec 18 06:23:00 UTC 2023


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:
b875b0d4ee ULTIMA: NUVIE: Fix cheat keys


Commit: b875b0d4ee4f10a7b5b2cde7be87e0ca877ca1e3
    https://github.com/scummvm/scummvm/commit/b875b0d4ee4f10a7b5b2cde7be87e0ca877ca1e3
Author: PushmePullyu (127053144+PushmePullyu at users.noreply.github.com)
Date: 2023-12-18T17:22:57+11:00

Commit Message:
ULTIMA: NUVIE: Fix cheat keys

Cheat keys were no longer working since commit
12a47d956ee00f62ed235c4009eb57ad0dbda19d
"Add support for ScummVM keymapper"

Changed paths:
    engines/ultima/nuvie/metaengine.cpp


diff --git a/engines/ultima/nuvie/metaengine.cpp b/engines/ultima/nuvie/metaengine.cpp
index f6896d99bf2..90cbba9f158 100644
--- a/engines/ultima/nuvie/metaengine.cpp
+++ b/engines/ultima/nuvie/metaengine.cpp
@@ -229,6 +229,9 @@ Common::KeymapArray MetaEngine::initKeymaps(const Common::String &gameId) {
 	for (int i = 0; i < ARRAYSIZE(PerPartyMemberActionDescriptions); i++)
 		keyMap->addAction(actionDescriptionFromNuvieAction(PerPartyMemberActionDescriptions[i]));
 
+	for (int i = 0; i < ARRAYSIZE(CheatKeyDescriptions); ++i)
+		keyMap->addAction(actionDescriptionFromNuvieAction(CheatKeyDescriptions[i]));
+
 	return keymapArray;
 }
 




More information about the Scummvm-git-logs mailing list