shithub: qk1

Download patch

ref: d2788d62c1dffff408bcefdd500ff55cc38053ef
parent: 6a4b0870f46777af02011fcd07fdc2b506b4144f
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Jan 5 17:55:50 EST 2024

SV_FlyMove: fix a warning

--- a/sv_phys.c
+++ b/sv_phys.c
@@ -177,7 +177,7 @@
 	float		d;
 	int			numplanes;
 	vec3_t		planes[MAX_CLIP_PLANES];
-	vec3_t		primal_velocity, original_velocity, new_velocity;
+	vec3_t		primal_velocity, original_velocity, new_velocity = {0};
 	int			i, j;
 	trace_t		trace;
 	vec3_t		end;