mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-20 19:21:46 +00:00
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:
parent
2930003864
commit
b287588149
@ -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]));
|
||||
|
Loading…
x
Reference in New Issue
Block a user