mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fix FindBestNearbyCover() and delete global var (#156)
This commit is contained in:
@@ -174,7 +174,6 @@ extern THREATTYPE Threat[MAXMERCS];
|
||||
extern int ThreatPercent[10];
|
||||
extern UINT8 SkipCoverCheck;
|
||||
extern INT8 GameOption[MAXGAMEOPTIONS];
|
||||
extern UINT32 guiThreatCnt;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
@@ -322,4 +321,4 @@ BOOLEAN GetBestAoEGridNo(SOLDIERTYPE *pSoldier, INT32* pGridNo, INT16 aRadius, U
|
||||
BOOLEAN GetFarthestOpponent(SOLDIERTYPE *pSoldier, UINT8* puID, INT16 sRange);
|
||||
|
||||
// are there more allies than friends in adjacent sectors?
|
||||
BOOLEAN MoreFriendsThanEnemiesinNearbysectors(UINT8 ausTeam, INT16 aX, INT16 aY, INT8 aZ);
|
||||
BOOLEAN MoreFriendsThanEnemiesinNearbysectors(UINT8 ausTeam, INT16 aX, INT16 aY, INT8 aZ);
|
||||
|
||||
Reference in New Issue
Block a user