From 8651fabfbc7725ac785498a2b7caab81d0b321ed Mon Sep 17 00:00:00 2001 From: Bill Currie <bill@taniwha.org> Date: Sun, 25 Jan 2004 07:12:01 +0000 Subject: [PATCH] bah, my findradius fix got stomped on :P --- qw/source/sv_pr_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qw/source/sv_pr_cmds.c b/qw/source/sv_pr_cmds.c index faf0ae376..772f59bbd 100644 --- a/qw/source/sv_pr_cmds.c +++ b/qw/source/sv_pr_cmds.c @@ -664,7 +664,7 @@ PF_findradius (progs_t *pr) emins = SVvector (ent, mins); emaxs = SVvector (ent, maxs); for (j = 0; j < 3; j++) - eorg[j] = org[j] - eorigin[j] - 0.5 * (emins[j] - emaxs[j]); + eorg[j] = org[j] - eorigin[j] - 0.5 * (emins[j] + emaxs[j]); if (DotProduct (eorg, eorg) > rad) continue;