From 38be6a389b6b85fa312320e3cd34ab847ec01086 Mon Sep 17 00:00:00 2001 From: Wanne Date: Sun, 1 Dec 2013 19:17:52 +0000 Subject: [PATCH] - Added missing #ifdef ENABLE_ZOMBIES for zombie exclusive code (by Jazz) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6672 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Civ Quotes.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tactical/Civ Quotes.cpp b/Tactical/Civ Quotes.cpp index 1855b7fc2..f3c22bb32 100644 --- a/Tactical/Civ Quotes.cpp +++ b/Tactical/Civ Quotes.cpp @@ -1715,12 +1715,16 @@ void StartEnemyTaunt( SOLDIERTYPE *pCiv, TAUNTTYPE iTauntType, SOLDIERTYPE *pTar // target limitations if( pTarget != NULL ) { + +#ifdef ENABLE_ZOMBIES // target should be zombie if( zTaunt[ i ].uiFlags2 & TAUNT_T_ZOMBIE ) { if( pTarget->IsZombie() == FALSE ) continue; } +#endif + // target merc profile if( zTaunt[ i ].value[TAUNT_TARGET_MERC_PROFILE] != -1 ) {