mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Attract, Credits: do not spend more than 2 seconds real time skipping forward in a replay
This commit is contained in:
parent
0ce93b2d96
commit
f1df1b8555
2 changed files with 4 additions and 0 deletions
|
|
@ -1817,6 +1817,8 @@ loadreplay:
|
|||
|
||||
attractcountdown = min(30*TICRATE, brief->time);
|
||||
g_fast_forward = min(table[index], brief->time - attractcountdown);
|
||||
// Slow computers, don't wait all day
|
||||
g_fast_forward_clock_stop = I_GetTime() + 2*TICRATE;
|
||||
// Show title screen music credit at beginning of demo
|
||||
attractcredit = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -525,6 +525,8 @@ static boolean F_CreditsPlayDemo(void)
|
|||
G_DoPlayDemoEx("", (brief->wad << 16) | brief->lump);
|
||||
|
||||
g_fast_forward = 30 * TICRATE;
|
||||
// Slow computers, don't wait all day
|
||||
g_fast_forward_clock_stop = I_GetTime() + 2 * TICRATE;
|
||||
g_credits.demo_exit = 0;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue