From 1d6f96553a6e2390e383ac13a63e9bfd8889b19d Mon Sep 17 00:00:00 2001 From: ChrisL Date: Mon, 6 Apr 2009 17:50:23 +0000 Subject: [PATCH] The valid range for Price_Modifier is 0-100. 0 was added as an option some time back to allow the game to dynamically adjust the Price_Modifier value based on game progress. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2684 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- GameSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameSettings.cpp b/GameSettings.cpp index d52c456ac..3387dcaf8 100644 --- a/GameSettings.cpp +++ b/GameSettings.cpp @@ -588,7 +588,7 @@ void LoadGameExternalOptions() gGameExternalOptions.fSellAll = iniReader.ReadBoolean("JA2 Gameplay Settings","CAN_SELL_ALT_LMB",FALSE); - gGameExternalOptions.iPriceModifier = (INT16) iniReader.ReadInteger("JA2 Gameplay Settings","PRICE_MODIFIER",10, 1, 100); + gGameExternalOptions.iPriceModifier = (INT16) iniReader.ReadInteger("JA2 Gameplay Settings","PRICE_MODIFIER",10, 0, 100); // WDS - Option to turn off stealing