mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 21:20:33 +00:00
fix worldspawn sky keys in NQ.
sky/skyname/qlsky rather than sky/skyname/skyname :)
This commit is contained in:
parent
9f596df607
commit
ec11282a33
1 changed files with 3 additions and 3 deletions
|
@ -133,9 +133,9 @@ CL_LoadSky (void)
|
||||||
R_LoadSkys (0);
|
R_LoadSkys (0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if ((item = PL_ObjectForKey (cl.worldspawn, "sky"))
|
if ((item = PL_ObjectForKey (cl.worldspawn, "sky")) // Q2/DarkPlaces
|
||||||
|| (item = PL_ObjectForKey (cl.worldspawn, "skyname"))
|
|| (item = PL_ObjectForKey (cl.worldspawn, "skyname")) // old QF
|
||||||
|| (item = PL_ObjectForKey (cl.worldspawn, "skyname"))) {
|
|| (item = PL_ObjectForKey (cl.worldspawn, "qlsky"))) /* QuakeLives */ {
|
||||||
name = PL_String (item);
|
name = PL_String (item);
|
||||||
}
|
}
|
||||||
R_LoadSkys (name);
|
R_LoadSkys (name);
|
||||||
|
|
Loading…
Reference in a new issue