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 aeefbcd..135073b 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;