mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 12:22:42 +00:00
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:
parent
4cc13b2bbf
commit
efb1d412a5
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue