[Scummvm-git-logs] scummvm master -> bc64600fde07060785b6a89d38da72db921f733d
bluegr
noreply at scummvm.org
Sat May 24 06:50:39 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:
bc64600fde NANCY: Fix "I can't do that" messages in Nancy 9
Commit: bc64600fde07060785b6a89d38da72db921f733d
https://github.com/scummvm/scummvm/commit/bc64600fde07060785b6a89d38da72db921f733d
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2025-05-24T09:49:25+03:00
Commit Message:
NANCY: Fix "I can't do that" messages in Nancy 9
Changed paths:
engines/nancy/enginedata.cpp
diff --git a/engines/nancy/enginedata.cpp b/engines/nancy/enginedata.cpp
index a5fa77c40c4..c6b523f2d60 100644
--- a/engines/nancy/enginedata.cpp
+++ b/engines/nancy/enginedata.cpp
@@ -209,7 +209,14 @@ INV::INV(Common::SeekableReadStream *chunkStream) : EngineData(chunkStream) {
textBuf[59] = '\0';
assembleTextLine((char *)textBuf, item.cantText, 60);
- item.cantSound.readNormal(*chunkStream);
+ // TODO: The "I can't do that" sound format has changed,
+ // so only override the sound name, to avoid reading junk
+ // into the SoundDescription members.
+ // item.cantSound.readNormal(*chunkStream);
+ SoundDescription tmp;
+ tmp.readNormal(*chunkStream);
+ item.cantSound.name = tmp.name;
+
s.skip(170); // TODO: Handle this data properly
}
}
More information about the Scummvm-git-logs
mailing list