diff --git a/code/fgame/g_utils.cpp b/code/fgame/g_utils.cpp index dfd752ae..d98069da 100644 --- a/code/fgame/g_utils.cpp +++ b/code/fgame/g_utils.cpp @@ -117,6 +117,12 @@ void G_TouchTriggers(Entity *ent) continue; } + // Added in 2.0 + // check if the ent is inside edict + if (hit->r.bmodel && gi.HitEntity(ent->edict, hit)) { + continue; + } + assert(hit->entity); ev = new Event(EV_Touch);