1. Fixed victory music playing prematurely when zombies were present

2. Zombies should now moan randomly (same as enemy taunts)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5337 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2012-06-08 20:14:43 +00:00
parent 253631f061
commit 2c342000c4
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -2281,6 +2281,8 @@ INT8 ExecuteAction(SOLDIERTYPE *pSoldier)
StartEnemyTaunt( pSoldier, TAUNT_SEEK_NOISE );
else if (pSoldier->aiData.bAction == AI_ACTION_RUN_AWAY )
StartEnemyTaunt( pSoldier, TAUNT_RUN_AWAY );
else if ( pSoldier->IsZombie() ) // Madd: Zombies randomly moan...
pSoldier->DoMercBattleSound( (INT8)( BATTLE_SOUND_LAUGH1 ) );
}
}
case AI_ACTION_APPROACH_MERC: // walk up to someone to talk