mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-26 08:26:31 +00:00
Actually print a warning if the old demo id collides
This commit is contained in:
parent
b89be9f179
commit
f7503adbde
1 changed files with 9 additions and 0 deletions
|
|
@ -1163,7 +1163,16 @@ static old_demo_var_t *CV_FindOldDemoVar(UINT16 chk)
|
|||
for (demovar = consvar_old_demo_vars; demovar; demovar = demovar->next)
|
||||
{
|
||||
if (demovar->checksum == chk)
|
||||
{
|
||||
if (demovar->collides)
|
||||
{
|
||||
CONS_Alert(CONS_WARNING,
|
||||
"Old demo netvar id %hu is a collision\n", chk);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return demovar;
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue