[Scummvm-git-logs] scummvm master -> 6aca78f907dd8b11e8a2fa79c683711b6a57f0a1

mgerhardy noreply at scummvm.org
Mon May 25 05:10:38 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:
6aca78f907 TWINE: fixed crash when opening the game state debug menu in the menu or during the intro


Commit: 6aca78f907dd8b11e8a2fa79c683711b6a57f0a1
    https://github.com/scummvm/scummvm/commit/6aca78f907dd8b11e8a2fa79c683711b6a57f0a1
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2026-05-25T07:10:23+02:00

Commit Message:
TWINE: fixed crash when opening the game state debug menu in the menu or during the intro

Changed paths:
    engines/twine/text.cpp


diff --git a/engines/twine/text.cpp b/engines/twine/text.cpp
index d1db16cf52f..3f2f93a547a 100644
--- a/engines/twine/text.cpp
+++ b/engines/twine/text.cpp
@@ -313,6 +313,9 @@ void Text::initItemFoundText(InventoryItems index) { // OpenDialNoWindow
 }
 
 void Text::initDial(TextBankId bankIdx) {
+	if (bankIdx == TextBankId::None) {
+		return;
+	}
 	// don't load if we already have the dialogue text bank loaded
 	if (bankIdx == _currentBankIdx) {
 		return;




More information about the Scummvm-git-logs mailing list