From: drjaska Date: Wed, 28 Dec 2022 11:46:37 +0000 (+0200) Subject: and -> or typofix X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=08b9efe95909a4a631de660350928a97e0c068fc;p=xonotic%2Fxonotic-data.pk3dir.git and -> or typofix --- diff --git a/qcsrc/server/weapons/weaponsystem.qc b/qcsrc/server/weapons/weaponsystem.qc index fc2c3979c..c61ef3fc4 100644 --- a/qcsrc/server/weapons/weaponsystem.qc +++ b/qcsrc/server/weapons/weaponsystem.qc @@ -464,7 +464,7 @@ void W_WeaponFrame(Player actor, .entity weaponentity) entity this = actor.(weaponentity); if (frametime) this.weapon_frametime = frametime; - if (!this || GetResource(actor, RES_HEALTH) < 1) return; // Dead player can't use weapons and injure impulse commands + if (!this || GetResource(actor, RES_HEALTH) < 1) return; // Dead player can't use weapons or injure impulse commands int button_atck = PHYS_INPUT_BUTTON_ATCK(actor); int button_atck2 = PHYS_INPUT_BUTTON_ATCK2(actor);