- removed I_MSTime entirely after checking how the wipe code actually works.
Since this calls I_WaitVBL, which resets the frame time, it was essentially just like calling a real-time timer anyway and nothing in it required a specific 0-timepoint. The same applies to the ZScript interface. All it needs is a millisecond-precise timer with no semantics attached.
This commit is contained in:
parent
2c65f08011
commit
96e9eadd97
4 changed files with 5 additions and 32 deletions
|
|
@ -945,7 +945,7 @@ void D_Display ()
|
|||
I_FreezeTime(true);
|
||||
screen->WipeEndScreen ();
|
||||
|
||||
wipestart = I_MSTime();
|
||||
wipestart = I_FPSTime();
|
||||
NetUpdate(); // send out any new accumulation
|
||||
|
||||
do
|
||||
|
|
@ -953,7 +953,7 @@ void D_Display ()
|
|||
do
|
||||
{
|
||||
I_WaitVBL(2);
|
||||
nowtime = I_MSTime();
|
||||
nowtime = I_FPSTime();
|
||||
diff = (nowtime - wipestart) * 40 / 1000; // Using 35 here feels too slow.
|
||||
} while (diff < 1);
|
||||
wipestart = nowtime;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue