]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/platforms.qc
Move non-generic entity flags to their own headers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / platforms.qc
index 7acdc614e8ff489500e5b31a1e634f145749e8db..4747877314a3ac52f78c30c06233ec3f63dcf170 100644 (file)
@@ -137,7 +137,7 @@ void plat_trigger_use(entity this, entity actor, entity trigger)
 
 void plat_crush(entity this, entity blocker)
 {
-       if((this.spawnflags & PLAT_CRUSH) && (blocker.takedamage != DAMAGE_NO))
+       if((this.spawnflags & CRUSH) && (blocker.takedamage != DAMAGE_NO))
        { // KIll Kill Kill!!
 #ifdef SVQC
                Damage (blocker, this, this, 10000, DEATH_HURTTRIGGER.m_id, DMG_NOWEP, blocker.origin, '0 0 0');