diff --git a/GameVersion.cpp b/GameVersion.cpp index 4a7246af..62a1e904 100644 --- a/GameVersion.cpp +++ b/GameVersion.cpp @@ -55,8 +55,8 @@ #endif -CHAR8 czVersionNumber[16] = { "Build 18.12.02" }; //YY.MM.DD +CHAR8 czVersionNumber[16] = { "Build 19.01.02" }; //YY.MM.DD CHAR16 zTrackingNumber[16] = { L"Z" }; -CHAR16 zRevisionNumber[16] = { L"Revision 8643" }; +CHAR16 zRevisionNumber[16] = { L"Revision 8647" }; // SAVE_GAME_VERSION is defined in header, change it there diff --git a/Tactical/Ja25_Tactical.cpp b/Tactical/Ja25_Tactical.cpp index c4b1ede2..9b08f7da 100644 --- a/Tactical/Ja25_Tactical.cpp +++ b/Tactical/Ja25_Tactical.cpp @@ -488,14 +488,14 @@ UINT8 GetNumSoldierIdAndProfileIdOfTheNewMercsOnPlayerTeam( UINT8 *pSoldierIdArr if( pProfileIdArray != NULL ) { //record the profile num of the merc - pProfileIdArray[ bNumMercsPresent ] = pSoldier->ubProfile; + pProfileIdArray[ usNumMercsPresent ] = pSoldier->ubProfile; } //if we are to return an array of the mercs if( pSoldierIdArray != NULL ) { //record the soldier num of the merc - pSoldierIdArray[ bNumMercsPresent ] = pSoldier->ubID; + pSoldierIdArray[ usNumMercsPresent ] = pSoldier->ubID; } ++usNumMercsPresent; @@ -562,7 +562,7 @@ UINT8 RandomArrayOfQualifiedMercs( UINT8 *pRandomSoldierIdArray ) //Get the number and array of the new soldiers usNumMercsPresent = GetNumSoldierIdAndProfileIdOfTheNewMercsOnPlayerTeam( SoldierIdArray, NULL ); - Assert( bNumMercsPresent < NUM_MERCS_WITH_NEW_QUOTES ); + Assert( usNumMercsPresent < NUM_MERCS_WITH_NEW_QUOTES ); if( usNumMercsPresent > 0 ) {