From fdc8bedd2e6c992103dccb805663a11955420624 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 17 Feb 2001 04:59:13 +0000 Subject: [PATCH] fix a silly bounding box error --- source/gl_model_alias.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/gl_model_alias.c b/source/gl_model_alias.c index ef19abb..ed2884a 100644 --- a/source/gl_model_alias.c +++ b/source/gl_model_alias.c @@ -254,7 +254,7 @@ Mod_LoadAliasFrame (void *pin, maliasframedesc_t *frame) for (i = 0; i < 3; i++) { // byte values, don't worry about endianness frame->bboxmin.v[i] = pdaliasframe->bboxmin.v[i]; - frame->bboxmin.v[i] = pdaliasframe->bboxmax.v[i]; + frame->bboxmax.v[i] = pdaliasframe->bboxmax.v[i]; } pinframe = (trivertx_t *) (pdaliasframe + 1); @@ -288,7 +288,7 @@ Mod_LoadAliasGroup (void *pin, maliasframedesc_t *frame) for (i = 0; i < 3; i++) { // these are byte values, so we don't have to worry about endianness frame->bboxmin.v[i] = pingroup->bboxmin.v[i]; - frame->bboxmin.v[i] = pingroup->bboxmax.v[i]; + frame->bboxmax.v[i] = pingroup->bboxmax.v[i]; } pin_intervals = (daliasinterval_t *) (pingroup + 1);