From 11deecd5601e2287886073df31421201a2fc2a4f Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 17 Apr 2011 18:07:58 +0000 Subject: [PATCH] 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 --- model_brush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.2