From 4ed7290d9fb2658087fe146313b080c12c1155c2 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 25 Sep 2010 19:24:12 +0900 Subject: [PATCH] Fix an uninitizized variable. --- tools/qfvis/source/soundphs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qfvis/source/soundphs.c b/tools/qfvis/source/soundphs.c index cf076e880..68cb8bdf7 100644 --- a/tools/qfvis/source/soundphs.c +++ b/tools/qfvis/source/soundphs.c @@ -73,8 +73,8 @@ SurfaceBBox (dface_t *s, vec3_t mins, vec3_t maxs) int vi, e, i, j; float *v; - mins[0] = mins[1] = 999999; - maxs[0] = maxs[1] = -99999; + mins[0] = mins[1] = mins[2] = 999999; + maxs[0] = maxs[1] = maxs[2] = -99999; for (i = 0; i < s->numedges; i++) { e = bsp->surfedges[s->firstedge + i];