diff options
author | Benjamin Haisch | 2008-08-19 14:22:19 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:05 +0100 |
commit | b287588149b796f28570b99af1f83ebd814bcde1 (patch) | |
tree | 3a813598e74bd99b4503554835d8118ec240e962 | |
parent | 2930003864ee02f675948a5e35cbf8ac8c4d744b (diff) | |
download | scummvm-rg350-b287588149b796f28570b99af1f83ebd814bcde1.tar.gz scummvm-rg350-b287588149b796f28570b99af1f83ebd814bcde1.tar.bz2 scummvm-rg350-b287588149b796f28570b99af1f83ebd814bcde1.zip |
TOLTECS: Clear the text duration first in updateTalkText before adding text lines (else the durations add up and the text stays on screen a really long time)
-rw-r--r-- | engines/toltecs/screen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toltecs/screen.cpp b/engines/toltecs/screen.cpp index 569ed2ecab..13e490b407 100644 --- a/engines/toltecs/screen.cpp +++ b/engines/toltecs/screen.cpp @@ -719,6 +719,7 @@ void Screen::updateTalkText(int16 slotIndex, int16 slotOffset) { width = 0; length = 0; + item->duration = 0; item->rectCount = 0; Font font(_vm->_res->load(_fontResIndexArray[item->fontNum])); |