]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - portals.c
the merging of alias and bsp model rendering begins... purely cosmetic changes in...
[xonotic/darkplaces.git] / portals.c
index 7d79b32cb082c272d3cc1047d1ee22a571edd7cd..fda14920fb35c3eb0388a30a153d6e81597e982e 100644 (file)
--- a/portals.c
+++ b/portals.c
@@ -319,7 +319,7 @@ void Portal_RecursiveFlow (portalrecursioninfo_t *info, mleaf_t *leaf, int first
                        int surfaceindex = leaf->firstleafsurface[i];
                        if (!CHECKPVSBIT(info->surfacepvs, surfaceindex))
                        {
-                               msurface_t *surface = info->model->brush.data_surfaces + surfaceindex;
+                               msurface_t *surface = info->model->data_surfaces + surfaceindex;
                                if (BoxesOverlap(surface->mins, surface->maxs, info->boxmins, info->boxmaxs))
                                {
                                        if (info->exact)