Set the hull depth for the server box_hull.

I'd forgotten about server generated hulls when I did the hull depth
changes.
This commit is contained in:
Bill Currie 2012-12-29 15:59:23 +09:00
parent b225879d16
commit 04a7e87b75
2 changed files with 2 additions and 0 deletions

View file

@ -153,6 +153,7 @@ SV_InitHull (hull_t *hull, mclipnode_t *clipnodes, plane_t *planes)
hull->planes = planes;
hull->firstclipnode = 0;
hull->lastclipnode = 5;
hull->depth = 6;
for (i = 0; i < 6; i++) {
hull->clipnodes[i].planenum = i;

View file

@ -153,6 +153,7 @@ SV_InitHull (hull_t *hull, mclipnode_t *clipnodes, plane_t *planes)
hull->planes = planes;
hull->firstclipnode = 0;
hull->lastclipnode = 5;
hull->depth = 6;
for (i = 0; i < 6; i++) {
hull->clipnodes[i].planenum = i;