]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
whitespace OCD
authordrjaska <drjaska83@gmail.com>
Fri, 31 Mar 2023 23:43:16 +0000 (02:43 +0300)
committerdrjaska <drjaska83@gmail.com>
Fri, 31 Mar 2023 23:43:16 +0000 (02:43 +0300)
qcsrc/server/damage.qc

index 4ec6c3f178dc2a3d38e67a9aee8fd1bfdf0fd4a5..cded517fed43152782089eafefa21f9ee3d02ced 100644 (file)
@@ -728,11 +728,11 @@ void Damage(entity targ, entity inflictor, entity attacker, float damage, int de
                if(IS_PLAYER(targ) && damage > 0 && attacker)
                {
                        for(int slot = 0; slot < MAX_WEAPONSLOTS; ++slot)
-                   {
-                       .entity went = weaponentities[slot];
-                       if(targ.(went).hook && targ.(went).hook.aiment == attacker)
-                               RemoveHook(targ.(went).hook);
-                   }
+                       {
+                               .entity went = weaponentities[slot];
+                               if(targ.(went).hook && targ.(went).hook.aiment == attacker)
+                                       RemoveHook(targ.(went).hook);
+                       }
                }
 
                if(STAT(FROZEN, targ) && !ITEM_DAMAGE_NEEDKILL(deathtype)