mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
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:
parent
8e54a3febf
commit
7f34c33bbc
1 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,7 @@ void G_PlayAnim(const char *fn,char t)
|
|||
palfadedelta = 0;
|
||||
showframe(0);
|
||||
|
||||
while (getticks() < nextframetime)
|
||||
do
|
||||
{
|
||||
handleevents();
|
||||
Net_GetPackets();
|
||||
|
@ -310,6 +310,7 @@ void G_PlayAnim(const char *fn,char t)
|
|||
break;
|
||||
}
|
||||
}
|
||||
while (getticks() < nextframetime);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue