From 5dca935305ef5c7a4626e11e892d17742f1164f0 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 25 Jan 2013 03:32:20 +0000 Subject: [PATCH] - If this was a git repository, I wouldn't have needed to just make three broken commits in a row. SVN r4044 (trunk) --- src/p_pspr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_pspr.cpp b/src/p_pspr.cpp index 46d31ab39..38e89a678 100644 --- a/src/p_pspr.cpp +++ b/src/p_pspr.cpp @@ -599,7 +599,7 @@ void P_CheckWeaponFire (player_t *player) return; } } - else if ((player->WeaponStat & WF_WEAPONREADYALT) && (player->cmd.ucmd.buttons & BT_ALTATTACK)) + else if ((player->WeaponState & WF_WEAPONREADYALT) && (player->cmd.ucmd.buttons & BT_ALTATTACK)) { if (!player->attackdown || !(weapon->WeaponFlags & WIF_NOAUTOFIRE)) {