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:
parent
4ea810eeba
commit
2d85358e7e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user