From: havoc Date: Thu, 6 Mar 2008 14:34:17 +0000 (+0000) Subject: fix bug that makes lava bridge in e1m6 kill you (as if you're in the X-Git-Tag: xonotic-v0.1.0preview~2335 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=30dc10f457965470f9787ed13fe3754f8a7eab3b;p=xonotic%2Fdarkplaces.git 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 --- 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) {