]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
and -> or typofix
authordrjaska <drjaska83@gmail.com>
Wed, 28 Dec 2022 11:46:37 +0000 (13:46 +0200)
committerdrjaska <drjaska83@gmail.com>
Wed, 28 Dec 2022 11:46:37 +0000 (13:46 +0200)
qcsrc/server/weapons/weaponsystem.qc

index fc2c3979c2b15226d5242fc95fdc641ad658b53e..c61ef3fc414eeb76f0ab19794291e3573c11b463 100644 (file)
@@ -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);