do not inherit the player render if the pev->aiment is not kRenderNormal

This commit is contained in:
Vaqtincha 2024-09-05 18:58:26 +05:00
parent 6ddf1f4187
commit fddcce7d53

View File

@ -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);