From a3caed7178742df91df52cc32a71e878af5c1f6d Mon Sep 17 00:00:00 2001 From: Flugente Date: Wed, 13 Jun 2018 18:14:25 +0000 Subject: [PATCH] Fix: As redisguise happens instantly and not timed as advertised, COVERT_STRIPIFUNCOVERED is now set to TRUE until further notice, the ini value is ignored. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8573 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- GameSettings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/GameSettings.cpp b/GameSettings.cpp index 592190c8..a62f6e37 100644 --- a/GameSettings.cpp +++ b/GameSettings.cpp @@ -2584,7 +2584,9 @@ void LoadSkillTraitsExternalSettings() gSkillTraitValues.sCOCloseDetectionRangeSoldierCorpse = iniReader.ReadInteger("Covert Ops","COVERT_CLOSE_DETECTION_RANGE_SOLDIER_CORPSE", 5, 0, 100); gSkillTraitValues.usCOEliteUncoverRadius = iniReader.ReadInteger("Covert Ops","COVERT_ELITES_UNCOVER_RADIUS", 6, 0, 20 ); gSkillTraitValues.fCODetectIfBleeding = iniReader.ReadBoolean("Covert Ops","COVERT_DETECTEDIFBLEEDING", FALSE ); - gSkillTraitValues.fCOStripIfUncovered = iniReader.ReadBoolean("Covert Ops","COVERT_STRIPIFUNCOVERED", FALSE ); + + // Flugente: as the 'redisguise after x turns' part is missing the x turns part, this is now permanently set to TRUE until that changes + gSkillTraitValues.fCOStripIfUncovered = TRUE;// iniReader.ReadBoolean( "Covert Ops", "COVERT_STRIPIFUNCOVERED", FALSE ); // Flugente: RADIO OPERATOR gSkillTraitValues.fROAllowArtillery = iniReader.ReadBoolean("Radio Operator","RADIO_OPERATOR_ARTILLERY", TRUE);