mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Add BOXER() & ISVIP() macros
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
#include "opplist.h"
|
||||
#include "Interface.h"
|
||||
#include "Tactical Save.h"
|
||||
#include <Soldier macros.h>
|
||||
|
||||
#define AI_LIST_SIZE TOTAL_SOLDIERS
|
||||
|
||||
@@ -180,7 +181,7 @@ BOOLEAN InsertIntoAIList( UINT8 ubID, INT8 bPriority )
|
||||
|
||||
BOOLEAN SatisfiesAIListConditions( SOLDIERTYPE * pSoldier, UINT8 * pubDoneCount, BOOLEAN fDoRandomChecks )
|
||||
{
|
||||
if ( (gTacticalStatus.bBoxingState == BOXING) && !(pSoldier->flags.uiStatusFlags & SOLDIER_BOXER) )
|
||||
if ( (gTacticalStatus.bBoxingState == BOXING) && !BOXER(pSoldier) )
|
||||
{
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user