2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-27 23:25:45 +03:00

SV_FlyMove: fixed illogical checks

This commit is contained in:
s1lent 2017-12-15 00:28:05 +07:00
parent 4ea810eeba
commit 2d85358e7e
No known key found for this signature in database
GPG Key ID: 0FE401DC73916B5C

View File

@ -265,7 +265,12 @@ void SV_FlyMove(edict_t *ent, float time)
if (trace.ent->v.solid == SOLID_BSP
|| trace.ent->v.solid == SOLID_SLIDEBOX
|| trace.ent->v.movetype == MOVETYPE_PUSHSTEP
|| (ent->v.flags & FL_CLIENT) == FL_CLIENT)
|| (
#ifdef REHLDS_FIXES
// Should be a case when entity collided into the client that has non-standard SOLID_BBOX set
trace.
#endif
ent->v.flags & FL_CLIENT) == FL_CLIENT)
{
ent->v.flags |= FL_ONGROUND;
ent->v.groundentity = trace.ent;