Browse Source

Fix issue with NPC/Quest text scrolling

Scrolling text were abruptly closing while the audio
played right. This patch fix a simple error on the
scrolling loop so the corretc variable is used to make
the scrolling happens
pull/713/head
Joel Falcou 6 years ago committed by Anders Jenbo
parent
commit
9ba87895ae
  1. 2
      Source/minitext.cpp

2
Source/minitext.cpp

@ -168,7 +168,7 @@ void DrawQText()
}
}
for (currTime = SDL_GetTicks(); sgLastScroll + scrolltexty < currTime; sgLastScroll += scrolltexty) {
for (currTime = SDL_GetTicks(); qtextSpd + scrolltexty < currTime; qtextSpd += scrolltexty) {
qtexty--;
if (qtexty <= 209) {
qtexty += 38;

Loading…
Cancel
Save