]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Rename normal_nade_boom to nade_normal_boom
authorotta8634 <k9wolf@pm.me>
Fri, 21 Feb 2025 16:41:04 +0000 (00:41 +0800)
committerotta8634 <k9wolf@pm.me>
Fri, 21 Feb 2025 16:41:04 +0000 (00:41 +0800)
This makes it consistent with the other _boom nade function names.

qcsrc/common/mutators/mutator/nades/nade/darkness.qc
qcsrc/common/mutators/mutator/nades/nade/ice.qc
qcsrc/common/mutators/mutator/nades/nade/normal.qc
qcsrc/common/mutators/mutator/nades/nade/normal.qh
qcsrc/common/mutators/mutator/nades/sv_nades.qc

index 01bd0ca0decbad7ccd7603e843820bca113ae74f..2f5c135113a5da08a5bd9e4d72ef7a543cbd8d35 100644 (file)
@@ -21,7 +21,7 @@ void nade_darkness_think(entity this)
                        Send_Effect_Except(expef, this.origin + '0 0 1', '0 0 0', 1, expcol_min, expcol_max, NULL);
                        sound(this, CH_SHOTS, SND_ROCKET_IMPACT, VOL_BASE, ATTEN_NORM);
 
-                       normal_nade_boom(this);
+                       nade_normal_boom(this);
                }
                else
                        Send_Effect_Except(EFFECT_SPAWN, this.origin + '0 0 1', '0 0 0', 1, '0.5 0 0.5', '0.5 0 0.5', NULL);
index 24feb75be6c8fb0bfa7040a8570ba818548dd384..0daba58b19853907a2cc37a218916dce0c2c6ebb 100644 (file)
@@ -29,7 +29,7 @@ void nade_ice_think(entity this)
                        Send_Effect_Except(expef, this.origin + '0 0 1', '0 0 0', 1, expcol_min, expcol_max, NULL);
                        sound(this, CH_SHOTS, SND_ROCKET_IMPACT, VOL_BASE, ATTEN_NORM);
 
-                       normal_nade_boom(this);
+                       nade_normal_boom(this);
                }
                delete(this);
                return;
index 4136fb59d2cc3e54d085d105b93b9eb3e6344812..1e133fdfb19f333c988978e4cbf2dc5d4c78d62f 100644 (file)
@@ -1,7 +1,7 @@
 #include "normal.qh"
 
 #ifdef SVQC
-void normal_nade_boom(entity this)
+void nade_normal_boom(entity this)
 {
        RadiusDamage(this, this.realowner, autocvar_g_nades_nade_damage, autocvar_g_nades_nade_edgedamage,
                autocvar_g_nades_nade_radius, this, NULL, autocvar_g_nades_nade_force, this.projectiledeathtype, DMG_NOWEP, this.enemy);
index 76c19eb770b1bbfcb69dbbd981b64acbec3afbea..1a5f9f8cfa98080381bdd1d2bf0b639f9ee39262 100644 (file)
@@ -3,7 +3,7 @@
 #include <common/mutators/mutator/nades/nades.qh>
 
 #ifdef SVQC
-void normal_nade_boom(entity this);
+void nade_normal_boom(entity this);
 #endif // SVQC
 
 CLASS(NormalNade, Nade)
index c037315c969e50981c8c87d0db6577ebab8458f4..293a9e66fe217da03c95256fada765f997bade9a 100644 (file)
@@ -144,7 +144,7 @@ void nade_boom(entity this)
        this.event_damage = func_null; // prevent somehow calling damage in the next call
 
        if(ntype == NADE_TYPE_NORMAL)
-               normal_nade_boom(this);
+               nade_normal_boom(this);
 
        if(this.takedamage)
        switch(ntype)