]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Adjust the lines as should be previously
authorLegendaryGuard <rootuser999@gmail.com>
Sun, 16 Oct 2022 13:40:07 +0000 (15:40 +0200)
committerLegendaryGuard <rootuser999@gmail.com>
Sun, 16 Oct 2022 13:40:07 +0000 (15:40 +0200)
qcsrc/common/mutators/mutator/nades/nades.qc

index 9620fb750b00c79120c3ecce889d3ae90c613e89..68fb6b048601f4c720d153bac7076ba9c8638336 100644 (file)
@@ -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,