Fix UB compilation

This commit is contained in:
Asdow
2024-11-09 16:46:39 +02:00
parent f99065d0c6
commit a81820d0d7
2 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -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;