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.6.0~163^2~486 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=11deecd5601e2287886073df31421201a2fc2a4f;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 --- 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; }