self.nextthink = -1;
self.takedamage = DAMAGE_AIM;
self.turrcaps_flags = TFL_TURRCAPS_ISTURRET; // for turretremove commands etc.
- self.solid = SOLID_BBOX;
+ self.solid = SOLID_CORPSE; // hax
self.event_damage = barricade_damage;
self.netname = "Barricade";
if(self.drop_size < 1) self.drop_size = 1;
+ self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_CORPSE | DPCONTENTS_BODY;
+
if(self.target) // follow target if available
self.goalentity = find(world, targetname, self.target);