From: havoc Date: Sun, 17 Apr 2011 18:07:58 +0000 (+0000) Subject: fix cullentities trace on q1bsp, it was broken by the X-Git-Tag: xonotic-v0.5.0~266 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3a297876a8ba8f50a6be2c607896a74cde4e57cf;p=xonotic%2Fdarkplaces.git fix cullentities trace on q1bsp, it was broken by the TraceLineAgainstSurfaces patch git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11060 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=11deecd5601e2287886073df31421201a2fc2a4f --- diff --git a/model_brush.c b/model_brush.c index 924cfcfe..2bb27183 100644 --- a/model_brush.c +++ b/model_brush.c @@ -1157,7 +1157,7 @@ void Collision_ClipTrace_Point(trace_t *trace, const vec3_t cmins, const vec3_t static qboolean Mod_Q1BSP_TraceLineOfSight(struct model_s *model, const vec3_t start, const vec3_t end) { trace_t trace; - model->TraceLine(model, NULL, NULL, &trace, start, end, SUPERCONTENTS_VISBLOCKERMASK); + Mod_Q1BSP_TraceLine(model, NULL, NULL, &trace, start, end, SUPERCONTENTS_VISBLOCKERMASK); return trace.fraction == 1; }