From f6043d1be8b3d04a06b0f1af55523da04c635028 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 23 Jan 2006 21:14:04 +0000 Subject: [PATCH] fixed SOLID_NOT relink touching triggers bug (which was causing CTF flags to be repeatedly captured in Nexuiz) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5922 d7cf8633-e32d-0410-b094-e92efae38249 --- world.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/world.c b/world.c index 0a9a5861..64b493a8 100644 --- a/world.c +++ b/world.c @@ -386,13 +386,10 @@ void SV_LinkEdict (prvm_edict_t *ent, qboolean touch_triggers) ent->fields.server->absmax[2] += 1; } - //if (ent->fields.server->solid == SOLID_NOT) - // return; - SV_LinkEdict_AreaGrid(ent); // if touch_triggers, touch all entities at this node and descend for more - if (touch_triggers) + if (touch_triggers && ent->fields.server.solid != SOLID_NOT) SV_TouchAreaGrid(ent); } -- 2.39.2