From: Rudolf Polzer Date: Tue, 23 Nov 2010 17:22:05 +0000 (+0100) Subject: mine layer: properly inherit spawnshieldtime when sticking to a wall, to fix remote... X-Git-Tag: xonotic-v0.1.0preview~111^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f33228c8d6942a31797bef70de81c3bc6bc1aecc;p=xonotic%2Fxonotic-data.pk3dir.git mine layer: properly inherit spawnshieldtime when sticking to a wall, to fix remote detonate --- diff --git a/qcsrc/server/w_minelayer.qc b/qcsrc/server/w_minelayer.qc index aeefbcd0b..135073bf5 100644 --- a/qcsrc/server/w_minelayer.qc +++ b/qcsrc/server/w_minelayer.qc @@ -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;