diff options
-rw-r--r-- | engines/macventure/text.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/macventure/text.cpp b/engines/macventure/text.cpp index 79c3200146..d3fc956b93 100644 --- a/engines/macventure/text.cpp +++ b/engines/macventure/text.cpp @@ -159,7 +159,12 @@ void TextAsset::decodeHuffman() { _decoded.replace(_decoded.end() - 1, _decoded.end(), ""); } else { //Composite obj string ObjID embedId = stream.getBits(8); + uint pos = stream.pos(); // HACK, part 1 + _decoded.replace(_decoded.end(), _decoded.end(), getNoun(embedId)); + stream.rewind();// HACK, part 2 + stream.skip(pos); + // Another HACK, to get around that EOS char I insert at the end _decoded.replace(_decoded.end() - 1, _decoded.end(), ""); } |