]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add botclip blocking to tower defense
authorMario <mario.mario@y7mail.com>
Thu, 18 Apr 2013 07:12:53 +0000 (17:12 +1000)
committerMario <mario.mario@y7mail.com>
Thu, 18 Apr 2013 07:12:53 +0000 (17:12 +1000)
qcsrc/server/mutators/gamemode_towerdefense.qc

index 20365eaeeefa6d8022d44e13115881945f8b02df..a9faffe2b0fe0b2b1fb875002baa07132977f4cc 100644 (file)
@@ -812,7 +812,7 @@ MUTATOR_HOOKFUNCTION(td_MonsterSpawn)
        
        if(self.drop_size < 1) self.drop_size = 1;
        
-       self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_CORPSE | DPCONTENTS_BODY;
+       self.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_BOTCLIP | DPCONTENTS_CORPSE;
        
        self.origin += '0 0 25'; // hopefully this fixes monsters falling through the floor