changed FL_ONGROUND handling for pushers (lifts for example) so you now ride down...
[xonotic/darkplaces.git] / cl_collision.c
index 0dae92c..f7a9ef0 100644 (file)
@@ -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;
        }