Fix bbox calculation for rotating brush entities.

This commit is contained in:
Bill Currie 2010-08-27 21:43:53 +09:00
parent b91568bbdd
commit 9a4c9c506f
1 changed files with 2 additions and 2 deletions

View File

@ -374,9 +374,9 @@ CreateBrushFaces (void)
min = brush_mins[2];
max = brush_maxs[0];
if (max > brush_maxs[1])
if (max < brush_maxs[1])
max = brush_maxs[1];
if (max > brush_maxs[2])
if (max < brush_maxs[2])
max = brush_maxs[2];
delta = fabs(max);