mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +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;
|
SOLDIERTYPE *pSoldier;
|
||||||
UINT8 ubCount = 0;
|
UINT16 ubCount = 0;
|
||||||
|
|
||||||
cnt = gTacticalStatus.Team[ OUR_TEAM ].bFirstID;
|
cnt = gTacticalStatus.Team[ OUR_TEAM ].bFirstID;
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -333,10 +333,10 @@ void SetMsgBoxForPlayerBeNotifiedOfSomeoneElseInSector();
|
|||||||
void HandleDisplayingOfPlayerLostDialogue( );
|
void HandleDisplayingOfPlayerLostDialogue( );
|
||||||
|
|
||||||
// UTILITY FUNCTIONS
|
// UTILITY FUNCTIONS
|
||||||
INT8 NumActiveAndConsciousTeamMembers( UINT8 ubTeam );
|
UINT16 NumActiveAndConsciousTeamMembers( UINT8 ubTeam );
|
||||||
UINT8 NumEnemyInSector( );
|
UINT16 NumEnemyInSector( );
|
||||||
UINT8 NumCapableEnemyInSector( );
|
UINT16 NumCapableEnemyInSector( );
|
||||||
INT8 NumMercsOnPlayerTeam( );
|
UINT16 NumMercsOnPlayerTeam( );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern BOOLEAN sniperwarning;
|
extern BOOLEAN sniperwarning;
|
||||||
|
|||||||
Reference in New Issue
Block a user