mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
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:
@@ -1154,7 +1154,7 @@ void HandleEnvironmentHazard( )
|
|||||||
{
|
{
|
||||||
INT16 damage = 10 + Random( 11 );
|
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 this is a swamp, handle possible extra infection
|
||||||
if ( ubTraverseType == SWAMP || ubTraverseType == SWAMP_ROAD )
|
if ( ubTraverseType == SWAMP || ubTraverseType == SWAMP_ROAD )
|
||||||
|
|||||||
Reference in New Issue
Block a user