mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-16 00:28:20 +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
|
if (trace.ent->v.solid == SOLID_BSP
|
||||||
|| trace.ent->v.solid == SOLID_SLIDEBOX
|
|| trace.ent->v.solid == SOLID_SLIDEBOX
|
||||||
|| trace.ent->v.movetype == MOVETYPE_PUSHSTEP
|
|| 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.flags |= FL_ONGROUND;
|
||||||
ent->v.groundentity = trace.ent;
|
ent->v.groundentity = trace.ent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user