fixed snake attacks not initiating damage/death animations and not decreasing number of enemies in sector properly

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9104 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Shadooow
2021-06-24 20:30:51 +00:00
parent 0a91067d24
commit f47c7e8f3f
+1 -1
View File
@@ -1154,7 +1154,7 @@ void HandleEnvironmentHazard( )
{
INT16 damage = 10 + Random( 11 );
pSoldier->SoldierTakeDamage( 0, damage, damage * 100, TAKE_DAMAGE_TENTACLES, NOBODY, pSoldier->sGridNo, 0, TRUE );
pSoldier->EVENT_SoldierGotHit(47, damage, damage * 100, pSoldier->ubDirection, 0, NOBODY, FIRE_WEAPON_NO_SPECIAL, AIM_SHOT_LEGS, 0, pSoldier->sGridNo);
// if this is a swamp, handle possible extra infection
if ( ubTraverseType == SWAMP || ubTraverseType == SWAMP_ROAD )