diff --git a/Strategic/Rebel Command.cpp b/Strategic/Rebel Command.cpp index 795393c3..d5272a1f 100644 --- a/Strategic/Rebel Command.cpp +++ b/Strategic/Rebel Command.cpp @@ -350,6 +350,7 @@ enum RebelCommandText // keep this synced with szRebelCommandText in the text fi RCT_MISSION_BONUS_OFFICER_PAYOUT, RCT_MISSION_BONUS_VEHICLE_PAYOUT, RCT_MISSION_BONUS_DURATION, + RCT_MISSION_CANT_START_NOT_IN_TOWN, RCT_MISSION_CANT_START_LOW_LOYALTY, RCT_MISSION_CANT_START_AGENT_UNAVAILABLE, RCT_MISSION_CANT_START_CONTRACT_EXPIRING, @@ -2595,7 +2596,12 @@ BOOLEAN SetupMissionAgentBox(UINT16 x, UINT16 y, INT8 index) const INT32 worldMin = GetWorldTotalMin(); const INT32 remaining = endTime - worldMin; - if (townId < FIRST_TOWN || townId >= NUM_TOWNS || !gfTownUsesLoyalty[townId] || (townLoyalty < gRebelCommandSettings.iMinLoyaltyForMission && rebelCommandSaveInfo.availableMissions[index] != RCAM_SEND_SUPPLIES_TO_TOWN)) + if (townId < FIRST_TOWN || townId >= NUM_TOWNS || !gfTownUsesLoyalty[townId]) + { + canStartMission = FALSE; + swprintf(sText, szRebelCommandText[RCT_MISSION_CANT_START_NOT_IN_TOWN]); + } + else if (townLoyalty < gRebelCommandSettings.iMinLoyaltyForMission && rebelCommandSaveInfo.availableMissions[index] != RCAM_SEND_SUPPLIES_TO_TOWN) { canStartMission = FALSE; swprintf(sText, szRebelCommandText[RCT_MISSION_CANT_START_LOW_LOYALTY]); diff --git a/Utils/_ChineseText.cpp b/Utils/_ChineseText.cpp index 32e7ad07..6977c562 100644 --- a/Utils/_ChineseText.cpp +++ b/Utils/_ChineseText.cpp @@ -11961,6 +11961,7 @@ STR16 szRebelCommandText[] = L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_DutchText.cpp b/Utils/_DutchText.cpp index a390bdbd..04bc5016 100644 --- a/Utils/_DutchText.cpp +++ b/Utils/_DutchText.cpp @@ -11971,6 +11971,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_EnglishText.cpp b/Utils/_EnglishText.cpp index 6828330c..fd729a35 100644 --- a/Utils/_EnglishText.cpp +++ b/Utils/_EnglishText.cpp @@ -11961,6 +11961,7 @@ STR16 szRebelCommandText[] = L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_FrenchText.cpp b/Utils/_FrenchText.cpp index f1ad0196..fae83165 100644 --- a/Utils/_FrenchText.cpp +++ b/Utils/_FrenchText.cpp @@ -11953,6 +11953,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_GermanText.cpp b/Utils/_GermanText.cpp index d861bbf6..672d3fc1 100644 --- a/Utils/_GermanText.cpp +++ b/Utils/_GermanText.cpp @@ -11875,6 +11875,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_ItalianText.cpp b/Utils/_ItalianText.cpp index 7a896997..6a02a32b 100644 --- a/Utils/_ItalianText.cpp +++ b/Utils/_ItalianText.cpp @@ -11962,6 +11962,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_PolishText.cpp b/Utils/_PolishText.cpp index 0fc8cb50..0e52a590 100644 --- a/Utils/_PolishText.cpp +++ b/Utils/_PolishText.cpp @@ -11975,6 +11975,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring", diff --git a/Utils/_RussianText.cpp b/Utils/_RussianText.cpp index 4c5a9f68..4cea1aeb 100644 --- a/Utils/_RussianText.cpp +++ b/Utils/_RussianText.cpp @@ -11956,6 +11956,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Bonus for officers (%s)", L"Bonus for vehicles (%s)", L"Duration +%d hours (%s)", + L"Agent not in town", L"Town loyalty too low", L"Agent unavailable", L"Agent contract expiring",