if using the features screen to play with intel, also enable extra civilians and extra merchants so the black market is available

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9371 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
rftr
2022-04-29 07:45:40 +00:00
parent 7b57f834f6
commit 6d0c4ab4ce
+5
View File
@@ -217,6 +217,11 @@ void UpdateFeatureFlags()
gGameExternalOptions.ubAgressiveStrategicAI = 0;
gGameExternalOptions.fIntelResource = gGameSettings.fFeatures[FF_INTEL];
if (gGameExternalOptions.fIntelResource)
{
gGameExternalOptions.bExtraCivilians = TRUE;
gGameExternalOptions.bExtraMerchants = TRUE;
}
gGameExternalOptions.fAllowPrisonerSystem = gGameSettings.fFeatures[FF_PRISONERS];
gGameExternalOptions.fMineRequiresWorkers = gGameSettings.fFeatures[FF_MINES_REQUIRE_WORKERS];
gGameExternalOptions.fEnableChanceOfEnemyAmbushes = gGameSettings.fFeatures[FF_ENEMY_AMBUSHES];