mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix UB compilation
This commit is contained in:
@@ -10876,11 +10876,11 @@ BOOLEAN CanMsgBoxForPlayerToBeNotifiedOfSomeoneElseInSector()
|
||||
}
|
||||
|
||||
|
||||
INT8 NumMercsOnPlayerTeam( )
|
||||
UINT16 NumMercsOnPlayerTeam( )
|
||||
{
|
||||
INT32 cnt;
|
||||
INT32 cnt;
|
||||
SOLDIERTYPE *pSoldier;
|
||||
UINT8 ubCount = 0;
|
||||
UINT16 ubCount = 0;
|
||||
|
||||
cnt = gTacticalStatus.Team[ OUR_TEAM ].bFirstID;
|
||||
|
||||
|
||||
+4
-4
@@ -333,10 +333,10 @@ void SetMsgBoxForPlayerBeNotifiedOfSomeoneElseInSector();
|
||||
void HandleDisplayingOfPlayerLostDialogue( );
|
||||
|
||||
// UTILITY FUNCTIONS
|
||||
INT8 NumActiveAndConsciousTeamMembers( UINT8 ubTeam );
|
||||
UINT8 NumEnemyInSector( );
|
||||
UINT8 NumCapableEnemyInSector( );
|
||||
INT8 NumMercsOnPlayerTeam( );
|
||||
UINT16 NumActiveAndConsciousTeamMembers( UINT8 ubTeam );
|
||||
UINT16 NumEnemyInSector( );
|
||||
UINT16 NumCapableEnemyInSector( );
|
||||
UINT16 NumMercsOnPlayerTeam( );
|
||||
#endif
|
||||
|
||||
extern BOOLEAN sniperwarning;
|
||||
|
||||
Reference in New Issue
Block a user