mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
- bugfix: Wrong chance to hit calculation on RPG rocket launchers
- bugfix: CTD in German version when using auto fire (-> missing German language strings) - updated German and English language files git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@548 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -3573,7 +3573,9 @@ UINT32 CalcChanceToHitGun(SOLDIERTYPE *pSoldier, UINT16 sGridNo, UINT8 ubAimTime
|
||||
if (pSoldier->bShock)
|
||||
iChance -= (pSoldier->bShock * AIM_PENALTY_PER_SHOCK);
|
||||
|
||||
if ( Item[ usInHand ].usItemClass == IC_GUN )
|
||||
// WANNE NEW: Changed this, because RPGs are not in the calculation, only guns
|
||||
//if ( Item[ usInHand ].usItemClass == IC_GUN )
|
||||
if ( Item[ usInHand ].usItemClass == IC_GUN || Item[ usInHand ].usItemClass == IC_LAUNCHER)
|
||||
{
|
||||
iMaxRange = GunRange( pInHand );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user