mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
NX/VITA: Fix downward velocity on monster MOVETYPE_WALK being constant
This commit is contained in:
parent
d49f680b17
commit
f5ed62245c
1 changed files with 1 additions and 1 deletions
|
@ -1351,7 +1351,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