From 238de71a27dc6094056a2ac9ad0d27ec69840e45 Mon Sep 17 00:00:00 2001 From: LegendaryGuard Date: Sun, 16 Oct 2022 15:40:07 +0200 Subject: [PATCH] Adjust the lines as should be previously --- qcsrc/common/mutators/mutator/nades/nades.qc | 60 ++++---------------- 1 file changed, 10 insertions(+), 50 deletions(-) diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index 9620fb750..68fb6b048 100644 --- a/qcsrc/common/mutators/mutator/nades/nades.qc +++ b/qcsrc/common/mutators/mutator/nades/nades.qc @@ -1335,56 +1335,16 @@ void nade_boom(entity this) if(this.takedamage) switch ( REGISTRY_GET(Nades, STAT(NADE_BONUS_TYPE, this)) ) { - case NADE_TYPE_NAPALM: - { - nade_napalm_boom(this); - break; - } - case NADE_TYPE_ICE: - { - nade_ice_boom(this); - break; - } - case NADE_TYPE_TRANSLOCATE: - { - nade_translocate_boom(this); - break; - } - case NADE_TYPE_SPAWN: - { - nade_spawn_boom(this); - break; - } - case NADE_TYPE_HEAL: - { - nade_heal_boom(this); - break; - } - case NADE_TYPE_TANDEM: - { - nade_tandem_boom(this); - break; - } - case NADE_TYPE_ENTRAP: - { - nade_entrap_boom(this); - break; - } - case NADE_TYPE_VEIL: - { - nade_veil_boom(this); - break; - } - case NADE_TYPE_AMMO: - { - nade_ammo_boom(this); - break; - } - case NADE_TYPE_DARK: - { - nade_dark_boom(this); - break; - } + case NADE_TYPE_NAPALM: nade_napalm_boom(this); break; + case NADE_TYPE_ICE: nade_ice_boom(this); break; + case NADE_TYPE_TRANSLOCATE: nade_translocate_boom(this); break; + case NADE_TYPE_SPAWN: nade_spawn_boom(this); break; + case NADE_TYPE_HEAL: nade_heal_boom(this); break; + case NADE_TYPE_TANDEM: nade_tandem_boom(this); break; + case NADE_TYPE_ENTRAP: nade_entrap_boom(this); break; + case NADE_TYPE_VEIL: nade_veil_boom(this); break; + case NADE_TYPE_AMMO: nade_ammo_boom(this); break; + case NADE_TYPE_DARK: nade_dark_boom(this); break; } IL_EACH(g_projectiles, it.classname == "grapplinghook" && it.aiment == this, -- 2.39.2