mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +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)
|
if (con_startup_loadprogress > CON_STARTUP_LOADSTEPS)
|
||||||
{
|
{
|
||||||
Unlock_state();
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1843,6 +1843,12 @@ void D_SRB2Main(void)
|
||||||
DRPC_Init();
|
DRPC_Init();
|
||||||
}
|
}
|
||||||
#endif
|
#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)
|
const char *D_Home(void)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue