[Scummvm-git-logs] scummvm master -> 14fecee5ce3b90b2a334007babe62c44d1fdf22e
sev-
noreply at scummvm.org
Wed Aug 5 17:59:34 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:
14fecee5ce CGE2: Restore missing tailor text
Commit: 14fecee5ce3b90b2a334007babe62c44d1fdf22e
https://github.com/scummvm/scummvm/commit/14fecee5ce3b90b2a334007babe62c44d1fdf22e
Author: fusefib (fibofuse at gmail.com)
Date: 2026-08-05T19:59:30+02:00
Commit Message:
CGE2: Restore missing tailor text
The game data references text 21:24 when speaking to the tailor, but
that entry is missing from both the English and Polish data.
Use the identical adjacent entry 21:23 for this reference. This
preserves the language provided by the game data instead of showing
the generic missing-text fallback.
Fixes bug #14645.
Changed paths:
engines/cge2/text.cpp
diff --git a/engines/cge2/text.cpp b/engines/cge2/text.cpp
index 0a26384e7f7..4cac3ef0658 100644
--- a/engines/cge2/text.cpp
+++ b/engines/cge2/text.cpp
@@ -121,6 +121,11 @@ void Text::load() {
}
char *Text::getText(int ref) {
+ // Text 21:24 is missing from the game data, but its text
+ // would be duplicative of 21:23. So, use that. See bug #14645.
+ if (ref == ((21 << 8) | 24))
+ ref = (21 << 8) | 23;
+
int i;
for (i = 0; (i < _size) && (_cache[i]._ref != ref); i++)
;
More information about the Scummvm-git-logs
mailing list