mirror of
https://github.com/rehlds/resemiclip.git
synced 2024-12-25 14:15:50 +03:00
do not inherit the player render if the pev->aiment is not kRenderNormal
This commit is contained in:
parent
6ddf1f4187
commit
fddcce7d53
@ -233,7 +233,7 @@ state_update:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (pEnt->v.aiment && pEnt->v.movetype == MOVETYPE_FOLLOW && pEnt->v.aiment != pHost)
|
if (pEnt->v.aiment && pEnt->v.movetype == MOVETYPE_FOLLOW && pEnt->v.aiment != pHost && pEnt->v.rendermode == kRenderNormal)
|
||||||
{
|
{
|
||||||
int playerIndex = EDICT_NUM(pEnt->v.aiment);
|
int playerIndex = EDICT_NUM(pEnt->v.aiment);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user