mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +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)
|
if (!skyname || !*skyname)
|
||||||
skyname = r_skyname->string;
|
skyname = r_skyname->string;
|
||||||
|
|
||||||
if (strcasecmp (skyname, "none") == 0) {
|
if (!*skyname || strcasecmp (skyname, "none") == 0) {
|
||||||
skyloaded = false;
|
skyloaded = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue