mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Make qw's SV_Push remove ONGROUND for non-players.
This seems to have been an optimization for QW since standard qw removed monsters. However, since there are QW mods that brought back monsters, this should be an improvement.
This commit is contained in:
parent
d1be716031
commit
3eb788b3f6
1 changed files with 3 additions and 0 deletions
|
@ -483,6 +483,9 @@ SV_Push (edict_t *pusher, const vec3_t tmove, const vec3_t amove)
|
|||
continue;
|
||||
// The pusher and entity collide, so push the entity.
|
||||
}
|
||||
// remove the onground flag for non-players
|
||||
if (c_movetype != MOVETYPE_WALK)
|
||||
SVfloat (check, flags) = c_flags & ~FL_ONGROUND;
|
||||
|
||||
c_origin = SVvector (check, origin);
|
||||
VectorCopy (c_origin, moved_from[num_moved]);
|
||||
|
|
Loading…
Reference in a new issue