- fix for HE ammo

- fix for militia reinforcements not working in cities


git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@349 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
lalien
2006-07-17 16:39:48 +00:00
parent 1700e00c06
commit 1c5b7f7a4b
5 changed files with 24 additions and 14 deletions
+6 -8
View File
@@ -1211,20 +1211,18 @@ UINT32 UIHandleTestHit( UI_EVENT *pUIEvent )
{
if ( Random(2) )
{
bDamage = 80; // was 20
bDamage = 20;
}
else
{
bDamage = 100; // was 25
bDamage = 25;
}
}
gTacticalStatus.ubAttackBusyCount++;
// marke new call without gun ID
EVENT_SoldierGotHit( pSoldier, 0, bDamage, 0, pSoldier->bDirection, 320, NOBODY , FIRE_WEAPON_NO_SPECIAL, pSoldier->bAimShotLocation, 0, NOWHERE );
// marke lined out old call
// EVENT_SoldierGotHit( pSoldier, 1, bDamage, 10, pSoldier->bDirection, 320, NOBODY , FIRE_WEAPON_NO_SPECIAL, pSoldier->bAimShotLocation, 0, NOWHERE );
gTacticalStatus.ubAttackBusyCount++;
EVENT_SoldierGotHit( pSoldier, 1, bDamage, 10, pSoldier->bDirection, 320, NOBODY , FIRE_WEAPON_NO_SPECIAL, pSoldier->bAimShotLocation, 0, NOWHERE );
// callahan update end - put everything as it was
}
return( GAME_SCREEN );
}