]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
mine layer: properly inherit spawnshieldtime when sticking to a wall, to fix remote...
authorRudolf Polzer <divverent@alientrap.org>
Tue, 23 Nov 2010 17:22:05 +0000 (18:22 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 23 Nov 2010 17:22:05 +0000 (18:22 +0100)
qcsrc/server/w_minelayer.qc

index aeefbcd0b7dac1a6162726367a65fe2a52b4bf48..135073bf55c8333b0098f19220dff399f7041581 100644 (file)
@@ -34,6 +34,7 @@ void W_Mine_Stick ()
        newmine.damageforcescale = self.damageforcescale;
        newmine.health = self.health;
        newmine.event_damage = self.event_damage;
+       newmine.spawnshieldtime = self.spawnshieldtime;
 
        newmine.movetype = MOVETYPE_NONE; // lock the mine in place
        newmine.projectiledeathtype = self.projectiledeathtype;