mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-26 05:11:25 +00:00
fix default sky box for Q2 maps
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2179 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b85e3c46ca
commit
15e372e2c5
1 changed files with 6 additions and 1 deletions
|
@ -484,6 +484,11 @@ void Mod_ParseInfoFromEntityLump(char *data) //actually, this should be in the m
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// this hack is necessary to ensure Quake 2 maps get their
|
||||||
|
// default skybox
|
||||||
|
if (loadmodel->fromgame == fg_quake2)
|
||||||
|
strcpy(skyname, "unit1_");
|
||||||
|
else
|
||||||
skyname[0] = '\0';
|
skyname[0] = '\0';
|
||||||
|
|
||||||
if (data)
|
if (data)
|
||||||
|
|
Loading…
Reference in a new issue