[Scummvm-git-logs] scummvm master -> 8647a9541e69c354d9b9b5087425a0945ed30a14
mgerhardy
martin.gerhardy at gmail.com
Mon Mar 29 18:21:08 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:
8647a9541e TWINE: fixed invalid textid for processFoundItem
Commit: 8647a9541e69c354d9b9b5087425a0945ed30a14
https://github.com/scummvm/scummvm/commit/8647a9541e69c354d9b9b5087425a0945ed30a14
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2021-03-29T20:20:58+02:00
Commit Message:
TWINE: fixed invalid textid for processFoundItem
Changed paths:
engines/twine/scene/gamestate.cpp
diff --git a/engines/twine/scene/gamestate.cpp b/engines/twine/scene/gamestate.cpp
index 32731f0827..6c4caacf0a 100644
--- a/engines/twine/scene/gamestate.cpp
+++ b/engines/twine/scene/gamestate.cpp
@@ -356,7 +356,7 @@ void GameState::processFoundItem(int32 item) {
ProgressiveTextState textState = ProgressiveTextState::ContinueRunning;
- _engine->_text->initVoxToPlayTextId(100 + item);
+ _engine->_text->initVoxToPlayTextId(item);
const int32 bodyAnimIdx = _engine->_animations->getBodyAnimIndex(AnimationTypes::kFoundItem);
const AnimData ¤tAnimData = _engine->_resources->animData[bodyAnimIdx];
More information about the Scummvm-git-logs
mailing list