[Scummvm-git-logs] scummvm branch-2-5 -> c2ffa13ccedd95a2eb485ab6cee242c7207333db

mgerhardy noreply at scummvm.org
Tue Nov 30 06:30:56 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c2ffa13cce TWINE: Text is different from speech for inventory items


Commit: c2ffa13ccedd95a2eb485ab6cee242c7207333db
    https://github.com/scummvm/scummvm/commit/c2ffa13ccedd95a2eb485ab6cee242c7207333db
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-11-30T07:30:50+01:00

Commit Message:
TWINE: Text is different from speech for inventory items

In asylum when Twinsen discovered his id card and holomap the text was not the same as the speech

https://bugs.scummvm.org/ticket/13115

Changed paths:
    engines/twine/text.cpp


diff --git a/engines/twine/text.cpp b/engines/twine/text.cpp
index 26c1a79629..7e540b8a03 100644
--- a/engines/twine/text.cpp
+++ b/engines/twine/text.cpp
@@ -297,7 +297,7 @@ void Text::initInventoryText(InventoryItems index) {
 }
 
 void Text::initItemFoundText(InventoryItems index) {
-	initText((TextId)(100 + (int)index));
+	initText((TextId)index);
 }
 
 void Text::initText(TextId index) {




More information about the Scummvm-git-logs mailing list