X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=cl_collision.c;h=f7a9ef0c817cd380b13f98de363e96a04b9e520f;hb=34095f2249f53ba2a4db8d084f9c76a3fc38d6ce;hp=0dae92c90f36e77784127beeb29347f1e72b8500;hpb=0274730929c3c06d40a0bd18a7d2ea3af7ab5f4d;p=xonotic%2Fdarkplaces.git diff --git a/cl_collision.c b/cl_collision.c index 0dae92c9..f7a9ef0c 100644 --- a/cl_collision.c +++ b/cl_collision.c @@ -140,6 +140,8 @@ int CL_GenericHitSuperContentsMask(const prvm_edict_t *passedict) } else if (passedict->fields.client->solid == SOLID_CORPSE) return SUPERCONTENTS_SOLID | SUPERCONTENTS_BODY; + else if (passedict->fields.client->solid == SOLID_TRIGGER) + return SUPERCONTENTS_SOLID | SUPERCONTENTS_BODY; else return SUPERCONTENTS_SOLID | SUPERCONTENTS_BODY | SUPERCONTENTS_CORPSE; }