mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-27 23:25:45 +03:00
SV_FlyMove: Add impact to MOVETYPE_TOSS (related #555)
This commit is contained in:
parent
01781eacc1
commit
a8f4f03e3e
@ -289,6 +289,9 @@ void SV_FlyMove(edict_t *ent, float time, float bounce)
|
||||
if ((ent->v.flags & FL_ONGROUND) && ent->v.movetype == MOVETYPE_TOSS)
|
||||
{
|
||||
VectorClear(ent->v.velocity);
|
||||
|
||||
// run the impact function
|
||||
SV_Impact(ent, trace.ent, &trace);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user