From b287588149b796f28570b99af1f83ebd814bcde1 Mon Sep 17 00:00:00 2001 From: Benjamin Haisch Date: Tue, 19 Aug 2008 14:22:19 +0000 Subject: 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) --- engines/toltecs/screen.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/toltecs/screen.cpp') 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])); -- cgit v1.2.3