mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
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:
@@ -217,6 +217,11 @@ void UpdateFeatureFlags()
|
|||||||
gGameExternalOptions.ubAgressiveStrategicAI = 0;
|
gGameExternalOptions.ubAgressiveStrategicAI = 0;
|
||||||
|
|
||||||
gGameExternalOptions.fIntelResource = gGameSettings.fFeatures[FF_INTEL];
|
gGameExternalOptions.fIntelResource = gGameSettings.fFeatures[FF_INTEL];
|
||||||
|
if (gGameExternalOptions.fIntelResource)
|
||||||
|
{
|
||||||
|
gGameExternalOptions.bExtraCivilians = TRUE;
|
||||||
|
gGameExternalOptions.bExtraMerchants = TRUE;
|
||||||
|
}
|
||||||
gGameExternalOptions.fAllowPrisonerSystem = gGameSettings.fFeatures[FF_PRISONERS];
|
gGameExternalOptions.fAllowPrisonerSystem = gGameSettings.fFeatures[FF_PRISONERS];
|
||||||
gGameExternalOptions.fMineRequiresWorkers = gGameSettings.fFeatures[FF_MINES_REQUIRE_WORKERS];
|
gGameExternalOptions.fMineRequiresWorkers = gGameSettings.fFeatures[FF_MINES_REQUIRE_WORKERS];
|
||||||
gGameExternalOptions.fEnableChanceOfEnemyAmbushes = gGameSettings.fFeatures[FF_ENEMY_AMBUSHES];
|
gGameExternalOptions.fEnableChanceOfEnemyAmbushes = gGameSettings.fFeatures[FF_ENEMY_AMBUSHES];
|
||||||
|
|||||||
Reference in New Issue
Block a user