mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
- 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
This commit is contained in:
@@ -1715,12 +1715,16 @@ void StartEnemyTaunt( SOLDIERTYPE *pCiv, TAUNTTYPE iTauntType, SOLDIERTYPE *pTar
|
|||||||
// target limitations
|
// target limitations
|
||||||
if( pTarget != NULL )
|
if( pTarget != NULL )
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef ENABLE_ZOMBIES
|
||||||
// target should be zombie
|
// target should be zombie
|
||||||
if( zTaunt[ i ].uiFlags2 & TAUNT_T_ZOMBIE )
|
if( zTaunt[ i ].uiFlags2 & TAUNT_T_ZOMBIE )
|
||||||
{
|
{
|
||||||
if( pTarget->IsZombie() == FALSE )
|
if( pTarget->IsZombie() == FALSE )
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// target merc profile
|
// target merc profile
|
||||||
if( zTaunt[ i ].value[TAUNT_TARGET_MERC_PROFILE] != -1 )
|
if( zTaunt[ i ].value[TAUNT_TARGET_MERC_PROFILE] != -1 )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user