From: LegendaryGuard Date: Sun, 16 Oct 2022 13:40:07 +0000 (+0200) Subject: Adjust the lines as should be previously X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=238de71a27dc6094056a2ac9ad0d27ec69840e45;p=xonotic%2Fxonotic-data.pk3dir.git Adjust the lines as should be previously --- diff --git a/qcsrc/common/mutators/mutator/nades/nades.qc b/qcsrc/common/mutators/mutator/nades/nades.qc index 9620fb750b..68fb6b0486 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,