mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-10 06:31:40 +00:00
Fix downward velocity on monster MOVETYPE_WALK being constant
This commit is contained in:
parent
b524455525
commit
c0326bf2c9
1 changed files with 1 additions and 1 deletions
|
@ -1339,7 +1339,7 @@ void SV_Physics_Walk(edict_t *ent)
|
||||||
trace_t downtrace;
|
trace_t downtrace;
|
||||||
vec3_t groundlocation;
|
vec3_t groundlocation;
|
||||||
VectorCopy(ent->v.origin,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);
|
downtrace = SV_Move(ent->v.origin,ent->v.mins,ent->v.maxs,groundlocation, MOVE_NOMONSTERS,ent);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue