[Scummvm-git-logs] scummvm master -> fb5b64174f07fd7af91396e812c1e81cd9983cda

mgerhardy noreply at scummvm.org
Tue Nov 30 06:30:44 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:
fb5b64174f TWINE: Text is different from speech for inventory items


Commit: fb5b64174f07fd7af91396e812c1e81cd9983cda
    https://github.com/scummvm/scummvm/commit/fb5b64174f07fd7af91396e812c1e81cd9983cda
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-11-30T07:30:38+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