[Scummvm-git-logs] scummvm branch-2-2 -> ea40c012985ecb19dea7eccf1ead4642e47e11bf
sev-
sev at scummvm.org
Fri Sep 4 22:43:53 UTC 2020
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:
ea40c01298 ILLUSIONS: Fix subtitle speed in Duckman. Fxies #11636
Commit: ea40c012985ecb19dea7eccf1ead4642e47e11bf
https://github.com/scummvm/scummvm/commit/ea40c012985ecb19dea7eccf1ead4642e47e11bf
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-09-05T00:43:38+02:00
Commit Message:
ILLUSIONS: Fix subtitle speed in Duckman. Fxies #11636
The original was operating byte pointers and we work with uint16 *.
Thus, division by 2 is not needed for counting string length
Changed paths:
engines/illusions/threads/talkthread_duckman.cpp
diff --git a/engines/illusions/threads/talkthread_duckman.cpp b/engines/illusions/threads/talkthread_duckman.cpp
index 19b40a757e..c7742a61c4 100644
--- a/engines/illusions/threads/talkthread_duckman.cpp
+++ b/engines/illusions/threads/talkthread_duckman.cpp
@@ -307,7 +307,7 @@ int TalkThread_Duckman::insertText() {
Common::Point pt;
_vm->getDefaultTextPosition(pt);
_vm->_screenText->updateTextInfoPosition(pt);
- int charCount = (_entryText - _currEntryText) / 2;
+ int charCount = _entryText - _currEntryText;
return charCount;
}
More information about the Scummvm-git-logs
mailing list