[Scummvm-git-logs] scummvm master -> 782d0fd970a4267da64e1e01f860f1467fa42087

bluegr noreply at scummvm.org
Tue Aug 4 23:05:10 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:
782d0fd970 CGE2: Fix missing dialogue text for bar crook


Commit: 782d0fd970a4267da64e1e01f860f1467fa42087
    https://github.com/scummvm/scummvm/commit/782d0fd970a4267da64e1e01f860f1467fa42087
Author: fusefib (fibofuse at gmail.com)
Date: 2026-08-05T02:05:07+03:00

Commit Message:
CGE2: Fix missing dialogue text for bar crook

The 23MAGIK sequence plays dialogue 23:02 as a sound event, bypassing
the text lookup. Route this specific event through the dialogue handler.

Fixes bug #14678.

Changed paths:
    engines/cge2/vga13h.cpp


diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index e68e8d1f952..f6d372ba5d6 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -562,7 +562,16 @@ void Sprite::step(int nr) {
 			seq = _ext->_seq + _seqPtr;
 			if (seq) {
 				if (seq->_dz == 127 && seq->_dx != 0) {
-					_vm->_commandHandlerTurbo->addCommand(kCmdSound, -1, 256 * seq->_dy + seq->_dx, this);
+					const int ref = 256 * seq->_dy + seq->_dx;
+
+					// 23MAGIK emits text 23:02 as a sound event embedded in an
+					// animation sequence row. Route it through kCmdSay so its text
+					// is shown. See bug #14678.
+					if (Common::String(_file).equalsIgnoreCase("23MAGIK") &&
+							ref == ((23 << 8) | 2))
+						_vm->_commandHandlerTurbo->addCommand(kCmdSay, -1, ref, this);
+					else
+						_vm->_commandHandlerTurbo->addCommand(kCmdSound, -1, ref, this);
 				} else {
 					p._x += seq->_dx;
 					p._y += seq->_dy;




More information about the Scummvm-git-logs mailing list