1
0
Fork 0
forked from fte/fteqw

if its a vwep player model, pretend to be the real player model for the purposes of skinning.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3319 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-07-19 17:00:22 +00:00
parent 4cc13b2bbf
commit efb1d412a5

View file

@ -1260,6 +1260,12 @@ void R_DrawGAliasModel (entity_t *e)
if (qglPNTrianglesfATI && gl_ati_truform.value) if (qglPNTrianglesfATI && gl_ati_truform.value)
qglEnable(GL_PN_TRIANGLES_ATI); qglEnable(GL_PN_TRIANGLES_ATI);
if (clmodel == cl.model_precache_vwep[0])
{
extern int cl_playerindex;
clmodel = cl.model_precache[cl_playerindex];
}
if (e->flags & Q2RF_WEAPONMODEL) if (e->flags & Q2RF_WEAPONMODEL)
{ {
VectorCopy(currententity->origin, saveorg); VectorCopy(currententity->origin, saveorg);