mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-06-01 09:32:36 +00:00
make r_firecolor more forgiving for old config files. prints a warning if the
old second alpha parameter is given, but accepts the other args.
This commit is contained in:
parent
8d67ac3784
commit
2530186c5e
1 changed files with 3 additions and 1 deletions
|
@ -818,7 +818,9 @@ R_FireColor_f(void)
|
||||||
r_firecolor_flame[3]);
|
r_firecolor_flame[3]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (Cmd_Argc() !=5) {
|
if (Cmd_Argc() == 6) {
|
||||||
|
Con_Printf ("Warning: obsolete 5th parameter to r_firecolor ignored\n");
|
||||||
|
} else if (Cmd_Argc() !=5) {
|
||||||
Con_Printf ("Usage r_firecolor R G B A\n");
|
Con_Printf ("Usage r_firecolor R G B A\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue