mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-28 14:52:03 +00:00
Fix downward velocity on monster MOVETYPE_WALK being constant
This commit is contained in:
parent
e9eff1fd0d
commit
f044d12ce5
1 changed files with 1 additions and 1 deletions
|
@ -1324,7 +1324,7 @@ void SV_Physics_Walk(edict_t *ent)
|
|||
trace_t downtrace;
|
||||
vec3_t groundlocation;
|
||||
VectorCopy(ent->v.origin,groundlocation);
|
||||
groundlocation[2] = -STEPSIZE + ent->v.velocity[2]*host_frametime;
|
||||
groundlocation[2] += -STEPSIZE + ent->v.velocity[2]*host_frametime;
|
||||
|
||||
downtrace = SV_Move(ent->v.origin,ent->v.mins,ent->v.maxs,groundlocation, MOVE_NOMONSTERS,ent);
|
||||
|
||||
|
|
Loading…
Reference in a new issue