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

sev- noreply at scummvm.org
Thu May 29 13:57:23 UTC 2025


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:
c602ffc0fe QDENGINE: MINIGAMES: Enable cheat key


Commit: c602ffc0fec15a1fa813d9694873c62066262d4a
    https://github.com/scummvm/scummvm/commit/c602ffc0fec15a1fa813d9694873c62066262d4a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-05-29T15:57:01+02:00

Commit Message:
QDENGINE: MINIGAMES: Enable cheat key

Changed paths:
    engines/qdengine/minigames/adv/RunTime.cpp


diff --git a/engines/qdengine/minigames/adv/RunTime.cpp b/engines/qdengine/minigames/adv/RunTime.cpp
index b2e3128c5e2..479aa01ae3d 100644
--- a/engines/qdengine/minigames/adv/RunTime.cpp
+++ b/engines/qdengine/minigames/adv/RunTime.cpp
@@ -546,10 +546,8 @@ bool MinigameManager::quant(float dt) {
 		if (_game_help)
 			_game_help.setState(_game_help_enabled ? _game_help_state_name.c_str() : "off");
 
-#ifdef _DEBUG
-		if (keyPressed(VK_MULTIPLY, true))
+		if (keyPressed(VK_MULTIPLY) || (keyPressed(VK_LSHIFT) && keyPressed('8')))
 			_game->setState(MinigameInterface::GAME_WIN);
-#endif
 
 		switch (_game->state()) {
 		case MinigameInterface::GAME_LOST:




More information about the Scummvm-git-logs mailing list