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

bluegr noreply at scummvm.org
Sat Sep 19 20:07:50 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:
ddf8bc49df NANCY: NANCY14: Show subtitles in DecoderPuzzle


Commit: ddf8bc49dfc8ec8cc929f6c30e4751b261871895
    https://github.com/scummvm/scummvm/commit/ddf8bc49dfc8ec8cc929f6c30e4751b261871895
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-09-19T23:07:13+03:00

Commit Message:
NANCY: NANCY14: Show subtitles in DecoderPuzzle

Changed paths:
    engines/nancy/action/puzzle/decoderpuzzle.cpp


diff --git a/engines/nancy/action/puzzle/decoderpuzzle.cpp b/engines/nancy/action/puzzle/decoderpuzzle.cpp
index a69ce722bfa..00e159c9e18 100644
--- a/engines/nancy/action/puzzle/decoderpuzzle.cpp
+++ b/engines/nancy/action/puzzle/decoderpuzzle.cpp
@@ -193,6 +193,13 @@ void DecoderPuzzle::playSoundBlock(const RandomSoundBlock &block) {
 
 	g_nancy->_sound->loadSound(desc);
 	g_nancy->_sound->playSound(desc);
+
+	// Voice lines carry no inline caption; it's keyed by the sound's name
+	Common::String caption = resolveSubtitleText(name, Common::String(), "AUTOTEXT");
+	if (caption.empty()) {
+		caption = resolveSubtitleText(name, Common::String(), "CONVO");
+	}
+	showSubtitle(caption);
 }
 
 bool DecoderPuzzle::isSoundBlockPlaying(const RandomSoundBlock &block) const {




More information about the Scummvm-git-logs mailing list