mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +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);
|
||||
return;
|
||||
}
|
||||
if ((item = PL_ObjectForKey (cl.worldspawn, "sky"))
|
||||
|| (item = PL_ObjectForKey (cl.worldspawn, "skyname"))
|
||||
|| (item = PL_ObjectForKey (cl.worldspawn, "skyname"))) {
|
||||
if ((item = PL_ObjectForKey (cl.worldspawn, "sky")) // Q2/DarkPlaces
|
||||
|| (item = PL_ObjectForKey (cl.worldspawn, "skyname")) // old QF
|
||||
|| (item = PL_ObjectForKey (cl.worldspawn, "qlsky"))) /* QuakeLives */ {
|
||||
name = PL_String (item);
|
||||
}
|
||||
R_LoadSkys (name);
|
||||
|
|
Loading…
Reference in a new issue