Merge pull request #3 from Vaqtincha/fixrenderaiment

Fix render aiment
This commit is contained in:
Dmitry Novikov 2024-09-06 16:57:54 +07:00 committed by GitHub
commit 0ee453ee76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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