animvpx loop: do at least on input device poll each frame (i.e. even if we're

lagging) to be able to cancel the movie in any case.

git-svn-id: https://svn.eduke32.com/eduke32@2186 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2011-12-21 18:41:03 +00:00
parent 8e54a3febf
commit 7f34c33bbc

View file

@ -299,7 +299,7 @@ void G_PlayAnim(const char *fn,char t)
palfadedelta = 0; palfadedelta = 0;
showframe(0); showframe(0);
while (getticks() < nextframetime) do
{ {
handleevents(); handleevents();
Net_GetPackets(); Net_GetPackets();
@ -310,6 +310,7 @@ void G_PlayAnim(const char *fn,char t)
break; break;
} }
} }
while (getticks() < nextframetime);
} }
// //