void door_blocked(entity this, entity blocker)
{
- if((this.spawnflags & PLAT_CRUSH)
+ if((this.spawnflags & DOOR_CRUSH)
#ifdef SVQC
&& (blocker.takedamage != DAMAGE_NO)
#elif defined(CSQC)
void door_generic_plat_blocked(entity this, entity blocker)
{
- if((this.spawnflags & PLAT_CRUSH) && (blocker.takedamage != DAMAGE_NO)) { // Kill Kill Kill!!
+ if((this.spawnflags & DOOR_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');
#endif
const int DOOR_NOSPLASH = BIT(8); // generic anti-splashdamage spawnflag
const int DOOR_NONSOLID = BIT(10);
+const int DOOR_CRUSH = BIT(11); // can't use PLAT_CRUSH cause that is the same as DOOR_DONT_LINK
const int SPAWNFLAGS_GOLD_KEY = BIT(3);
const int SPAWNFLAGS_SILVER_KEY = BIT(4);