fix for RID #1394691 (boss2 at least)

added r_drawviewmodelinvis
Spike needs to fix heightmaps, they have a similar issue


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1829 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2006-01-09 01:49:06 +00:00
parent a061092d65
commit afb9ec7a08
7 changed files with 41 additions and 16 deletions

View file

@ -517,16 +517,27 @@ void Mod_ParseInfoFromEntityLump(char *data) //actually, this should be in the m
{
Q_strncpyz(skyname, com_token, sizeof(skyname));
}
else if (!strcmp("skyrotate", key) || !strcmp("skyrotate", key))
else if (!strcmp("skyrotate", key))
{
skyrotate = atof(com_token);
}
else if (!strcmp("skyaxis", key))
{
char *s;
Q_strncpyz(key, com_token, sizeof(key));
s = COM_Parse(key);
skyaxis[0] = atof(s);
s = COM_Parse(s);
skyaxis[1] = atof(s);
COM_Parse(s);
skyaxis[2] = atof(s);
if (s)
{
skyaxis[0] = atof(s);
s = COM_Parse(s);
if (s)
{
skyaxis[1] = atof(s);
COM_Parse(s);
if (s)
skyaxis[2] = atof(s);
}
}
}
}