From 30dc10f457965470f9787ed13fe3754f8a7eab3b Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 6 Mar 2008 14:34:17 +0000 Subject: [PATCH] fix bug that makes lava bridge in e1m6 kill you (as if you're in the lava it came out of), thanks to Lardarse for reporting this git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8191 d7cf8633-e32d-0410-b094-e92efae38249 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model_brush.c b/model_brush.c index 84e32399..53da2329 100644 --- a/model_brush.c +++ b/model_brush.c @@ -887,7 +887,7 @@ static int Mod_Q1BSP_PointSuperContents(struct model_s *model, int frame, const { int num = 0; mplane_t *plane; - mclipnode_t *nodes = model->brushq1.hulls[0].clipnodes; + mclipnode_t *nodes = model->brushq1.hulls[0].clipnodes + model->brushq1.hulls[0].firstclipnode; mplane_t *planes = model->brushq1.hulls[0].planes; while (num >= 0) { -- 2.39.2