mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-01 04:33:02 +00:00
Add extra warning for CON_STARTUP_LOADSTEPS being incorrect
This commit is contained in:
parent
12f56d64a7
commit
3469ab12ba
2 changed files with 7 additions and 1 deletions
|
|
@ -1920,7 +1920,7 @@ void CON_DrawLoadBar(void)
|
|||
if (con_startup_loadprogress > CON_STARTUP_LOADSTEPS)
|
||||
{
|
||||
Unlock_state();
|
||||
I_Error("CON_STARTUP_LOADSTEPS has not been updated!\n");
|
||||
I_Error("CON_STARTUP_LOADSTEPS is too low! (is %d, got %d)\n", CON_STARTUP_LOADSTEPS, con_startup_loadprogress);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1843,6 +1843,12 @@ void D_SRB2Main(void)
|
|||
DRPC_Init();
|
||||
}
|
||||
#endif
|
||||
|
||||
if (con_startup_loadprogress < CON_STARTUP_LOADSTEPS)
|
||||
{
|
||||
I_Error("CON_STARTUP_LOADSTEPS is too high! (is %d, got %d)\n", CON_STARTUP_LOADSTEPS, con_startup_loadprogress);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const char *D_Home(void)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue