From 0447130826426540a7743f7214337e38a01b12b9 Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 7 Oct 2018 20:59:43 +0000 Subject: [PATCH] Fix: only check for rate of fire for weapons git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8628 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Points.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tactical/Points.cpp b/Tactical/Points.cpp index 1a78cb1d..ef21b61a 100644 --- a/Tactical/Points.cpp +++ b/Tactical/Points.cpp @@ -2068,6 +2068,9 @@ INT16 BaseAPsToShootOrStab( INT16 bAPs, INT16 bAimSkill, OBJECTTYPE * pObj, SOLD //CHRISL: Resolves a problem with stackable weapons not using attachments like Reflex sight. Found by Mugsy //if (ItemSlotLimit(pObj, STACK_SIZE_LIMIT) == 1)//NOT STACKABLE! + + // be sure to only check weapons + if ( Item[pObj->usItem].usItemClass & ( IC_WEAPON | IC_PUNCH ) ) { rof += GetRateOfFireBonus(pObj); }