[Scummvm-git-logs] scummvm master -> 98b2279fba904109a4784455fe8184ee60aa130d
antoniou79
noreply at scummvm.org
Sat Feb 7 08:04:23 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:
98b2279fba TSAGE: Guard enable toggle for question mark with specific game ids
Commit: 98b2279fba904109a4784455fe8184ee60aa130d
https://github.com/scummvm/scummvm/commit/98b2279fba904109a4784455fe8184ee60aa130d
Author: antoniou79 (a.antoniou79 at gmail.com)
Date: 2026-02-07T10:01:02+02:00
Commit Message:
TSAGE: Guard enable toggle for question mark with specific game ids
Instead of assuming it would work on anything except the original Ringworld.
Only allow it for Blue Force and Ringworld 2
Changed paths:
engines/tsage/core.cpp
engines/tsage/events.cpp
diff --git a/engines/tsage/core.cpp b/engines/tsage/core.cpp
index 5e8abe41d46..d3eeee15e3b 100644
--- a/engines/tsage/core.cpp
+++ b/engines/tsage/core.cpp
@@ -4490,7 +4490,7 @@ void SceneHandler::process(Event &event) {
g_globals->_player._uiEnabled &&
((g_vm->getGameID() != GType_Ringworld2) || (R2_GLOBALS._sceneManager._sceneNumber != 1330)) &&
((g_vm->getGameID() != GType_BlueForce) || (R2_GLOBALS._sceneManager._sceneNumber != 100))) {
- if (g_vm->getGameID() != GType_Ringworld) {
+ if (g_vm->getGameID() == GType_BlueForce || g_vm->getGameID() == GType_Ringworld2) {
// Disable the "?" UI element when showing the right-click popup menu
T2_GLOBALS._uiElements._question.setEnabled(false);
}
diff --git a/engines/tsage/events.cpp b/engines/tsage/events.cpp
index 129a184ffb8..4a6554c6f20 100644
--- a/engines/tsage/events.cpp
+++ b/engines/tsage/events.cpp
@@ -293,7 +293,7 @@ void EventsClass::setCursor(CursorType cursorType) {
DEALLOCATE(cursor);
// For Blue Force and Return to Ringworld, enable the question button when an inventory icon is selected
- if (g_vm->getGameID() != GType_Ringworld)
+ if (g_vm->getGameID() == GType_BlueForce || g_vm->getGameID() == GType_Ringworld2)
T2_GLOBALS._uiElements._question.setEnabled(questionEnabled);
}
More information about the Scummvm-git-logs
mailing list