From: drjaska Date: Fri, 31 Mar 2023 23:43:16 +0000 (+0300) Subject: whitespace OCD X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=383b3823a3fdee60cc50db567a32038520bd4e58;p=xonotic%2Fxonotic-data.pk3dir.git whitespace OCD --- diff --git a/qcsrc/server/damage.qc b/qcsrc/server/damage.qc index 4ec6c3f17..cded517fe 100644 --- a/qcsrc/server/damage.qc +++ b/qcsrc/server/damage.qc @@ -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)