]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/vaporizer.qc
Merge branch 'master' into TimePath/global_self
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / vaporizer.qc
index 256019d69de67b91a12084a981a4e96e9b5b8b8d..399ce4e584366b2dd0e54c1fa4f645eeafab0665 100644 (file)
@@ -59,7 +59,7 @@ void spawnfunc_weapon_vaporizer(void) { weapon_defaultspawnfunc(WEP_VAPORIZER.m_
 void spawnfunc_weapon_minstanex(void) { spawnfunc_weapon_vaporizer(); }
 
 void W_RocketMinsta_Explosion(vector loc)
-{
+{SELFPARAM();
        if(accuracy_canbegooddamage(self))
                accuracy_add(self, WEP_DEVASTATOR.m_id, autocvar_g_rm_damage, 0);
        entity dmgent = spawn();
@@ -70,7 +70,7 @@ void W_RocketMinsta_Explosion(vector loc)
 }
 
 void W_Vaporizer_Attack(void)
-{
+{SELFPARAM();
        bool flying = IsFlying(self); // do this BEFORE to make the trace values from FireRailgunBullet last
        float vaporizer_damage = ((WEP_CVAR_PRI(vaporizer, damage) > 0) ? WEP_CVAR_PRI(vaporizer, damage) : 10000);
 
@@ -140,7 +140,7 @@ void W_Vaporizer_Attack(void)
 }
 
 void W_RocketMinsta_Laser_Explode (void)
-{
+{SELFPARAM();
        if(other.takedamage == DAMAGE_AIM)
                if(IS_PLAYER(other))
                        if(DIFF_TEAM(self.realowner, other))
@@ -155,7 +155,7 @@ void W_RocketMinsta_Laser_Explode (void)
 }
 
 void W_RocketMinsta_Laser_Touch (void)
-{
+{SELFPARAM();
        PROJECTILE_TOUCH;
        //W_RocketMinsta_Laser_Explode ();
        RadiusDamage (self, self.realowner, self.rm_damage, self.rm_edmg, autocvar_g_rm_laser_radius, world, world, self.rm_force, self.projectiledeathtype, other);
@@ -163,7 +163,7 @@ void W_RocketMinsta_Laser_Touch (void)
 }
 
 void W_RocketMinsta_Attack2(void)
-{
+{SELFPARAM();
        makevectors(self.v_angle);
        
        entity proj;
@@ -218,7 +218,7 @@ void W_RocketMinsta_Attack2(void)
 }
 
 void W_RocketMinsta_Attack3 (void)
-{
+{SELFPARAM();
        makevectors(self.v_angle);
        
        entity proj;
@@ -269,7 +269,7 @@ void W_RocketMinsta_Attack3 (void)
 }
 
 float W_Vaporizer(float req)
-{
+{SELFPARAM();
        float ammo_amount;
        float vaporizer_ammo;
        float rapid = autocvar_g_rm_laser_rapid;
@@ -429,7 +429,7 @@ float W_Vaporizer(float req)
 #endif
 #ifdef CSQC
 float W_Vaporizer(float req)
-{
+{SELFPARAM();
        switch(req)
        {
                case WR_IMPACTEFFECT: