[Scummvm-git-logs] scummvm master -> 2facc4d2032da5943399b69908171ddd505e55ce

bluegr noreply at scummvm.org
Thu May 15 08:27:06 UTC 2025


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:
2facc4d203 NANCY: Only process hypertext mark tokens for Nancy 8 and newer games


Commit: 2facc4d2032da5943399b69908171ddd505e55ce
    https://github.com/scummvm/scummvm/commit/2facc4d2032da5943399b69908171ddd505e55ce
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-05-15T11:26:46+03:00

Commit Message:
NANCY: Only process hypertext mark tokens for Nancy 8 and newer games

This restores the engine's behavior before the Nancy 8 changes in
commit ff39bce6ea34a5e588adb2c2efa1b660d63133c9.

Fixes the EAST entry in Nancy 6's ZIP disk

Changed paths:
    engines/nancy/misc/hypertext.cpp


diff --git a/engines/nancy/misc/hypertext.cpp b/engines/nancy/misc/hypertext.cpp
index d239973151d..48223c087f6 100644
--- a/engines/nancy/misc/hypertext.cpp
+++ b/engines/nancy/misc/hypertext.cpp
@@ -182,6 +182,11 @@ void HypertextParser::drawAllText(const Common::Rect &textBounds, uint leftOffse
 				case '3':
 				case '4':
 				case '5':
+					// Mark token for Nancy 8 and later games. no-op for earlier games
+					if (g_nancy->getGameType() <= kGameTypeNancy7) {
+						continue;
+					}
+
 					if (curToken.size() != 1) {
 						break;
 					}




More information about the Scummvm-git-logs mailing list