use remote radius, not radius, for spawnshieldtime
authorRudolf Polzer <divverent@alientrap.org>
Tue, 9 Nov 2010 07:02:46 +0000 (08:02 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 9 Nov 2010 07:02:46 +0000 (08:02 +0100)
qcsrc/server/w_minelayer.qc
qcsrc/server/w_rocketlauncher.qc

index dc4f481..3b9c940 100644 (file)
@@ -99,7 +99,7 @@ void W_Mine_RemoteExplode ()
        if(self.owner.deadflag == DEAD_NO)
                if((self.spawnshieldtime >= 0)
                        ? (time >= self.spawnshieldtime) // timer
-                       : (vlen(NearestPointOnBox(self.owner, self.origin) - self.origin) > cvar("g_balance_minelayer_radius")) // safety device
+                       : (vlen(NearestPointOnBox(self.owner, self.origin) - self.origin) > cvar("g_balance_minelayer_remote_radius")) // safety device
                )
                {
                        W_Mine_DoRemoteExplode();
index c109fc7..a57da6a 100644 (file)
@@ -125,7 +125,7 @@ void W_Rocket_RemoteExplode()
        {
                if((self.spawnshieldtime >= 0)
                        ? (time >= self.spawnshieldtime) // timer
-                       : (vlen(NearestPointOnBox(self.owner, self.origin) - self.origin) > cvar("g_balance_rocketlauncher_radius")) // safety device
+                       : (vlen(NearestPointOnBox(self.owner, self.origin) - self.origin) > cvar("g_balance_rocketlauncher_remote_radius")) // safety device
                )
                {
                        W_Rocket_DoRemoteExplode();