mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Fix: AimLevels bonus was displayed for OCTH although it doesn't apply there
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8247 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+3
-1
@@ -10343,7 +10343,9 @@ INT32 GetItemModifier(OBJECTTYPE* pObj, UINT8 ubRef, UINT8 usType)
|
||||
iModifier += BonusReduceMore( Item[pObj->usItem].targettrackingmodifier[ubRef], (*pObj)[0]->data.objectStatus );
|
||||
break;
|
||||
case ITEMMODIFIER_AIMLEVELS:
|
||||
iModifier += Item[pObj->usItem].aimlevelsmodifier[ubRef];
|
||||
// silversurfer: NCTH system only
|
||||
if ( UsingNewCTHSystem() )
|
||||
iModifier += Item[pObj->usItem].aimlevelsmodifier[ubRef];
|
||||
break;
|
||||
|
||||
case ITEMMODIFIER_SPOTTER:
|
||||
|
||||
Reference in New Issue
Block a user