From f5ed62245c8a0eee1239f7adde7a1420f1dc63bc Mon Sep 17 00:00:00 2001 From: cypress Date: Wed, 27 Dec 2023 15:40:27 -0500 Subject: [PATCH] NX/VITA: Fix downward velocity on monster MOVETYPE_WALK being constant --- source/sv_phys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/sv_phys.c b/source/sv_phys.c index 6e5095c..17d8c14 100644 --- a/source/sv_phys.c +++ b/source/sv_phys.c @@ -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);