From 4a49630c75dab3f6080fc520dd337898fce79f1f Mon Sep 17 00:00:00 2001 From: Wanne Date: Wed, 13 Nov 2013 18:15:07 +0000 Subject: [PATCH] - Fixed compilation error with disabled zombies (// #define ENABLE_ZOMBIES) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6594 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- TacticalAI/AIMain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TacticalAI/AIMain.cpp b/TacticalAI/AIMain.cpp index 11bb64962..a6e2fb19e 100644 --- a/TacticalAI/AIMain.cpp +++ b/TacticalAI/AIMain.cpp @@ -1722,8 +1722,9 @@ INT8 ExecuteAction(SOLDIERTYPE *pSoldier) { if ( pSoldier->IsZombie() ) // Madd: Zombies randomly moan... pSoldier->DoMercBattleSound( (INT8)( BATTLE_SOUND_LAUGH1 ) ); -#endif + } +#endif } case AI_ACTION_APPROACH_MERC: // walk up to someone to talk case AI_ACTION_TRACK: // track by ground scent