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)

This commit is contained in:
Benjamin Haisch 2008-08-19 14:22:19 +00:00 committed by Willem Jan Palenstijn
parent 2930003864
commit b287588149

View File

@ -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]));