fix for statics being inside out (or not visible), as well as dp style svc_effect on the qw protocol. (uses different svcs, but...)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@501 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
297bf5cb2d
commit
96ab3d3fd1
1 changed files with 8 additions and 0 deletions
|
@ -2019,6 +2019,7 @@ void CL_ParseStatic (int version)
|
||||||
VectorCopy (es.angles, ent->angles);
|
VectorCopy (es.angles, ent->angles);
|
||||||
es.angles[0]*=-1;
|
es.angles[0]*=-1;
|
||||||
AngleVectors(es.angles, ent->axis[0], ent->axis[1], ent->axis[2]);
|
AngleVectors(es.angles, ent->axis[0], ent->axis[1], ent->axis[2]);
|
||||||
|
VectorInverse(ent->axis[1]);
|
||||||
|
|
||||||
if (!cl.worldmodel)
|
if (!cl.worldmodel)
|
||||||
{
|
{
|
||||||
|
@ -3723,6 +3724,13 @@ void CL_ParseServerMessage (void)
|
||||||
case svc_setattachment:
|
case svc_setattachment:
|
||||||
CL_ParseAttachment();
|
CL_ParseAttachment();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case svcqw_effect:
|
||||||
|
CL_ParseEffect(false);
|
||||||
|
break;
|
||||||
|
case svcqw_effect2:
|
||||||
|
CL_ParseEffect(true);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue