mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Don't try to load skys named "".
This makes 'loadsky ""' and 'loadsky none' equivalent.
This commit is contained in:
parent
9ba70884c5
commit
6114495870
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ R_LoadSkys (const char *skyname)
|
|||
if (!skyname || !*skyname)
|
||||
skyname = r_skyname->string;
|
||||
|
||||
if (strcasecmp (skyname, "none") == 0) {
|
||||
if (!*skyname || strcasecmp (skyname, "none") == 0) {
|
||||
skyloaded = false;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue