From f91bc180ad3d7ca1baf18bcb70c2e74d2fa2192c Mon Sep 17 00:00:00 2001 From: ChrisL Date: Mon, 6 Apr 2009 17:53:44 +0000 Subject: [PATCH] The valid range for Price_Modifier is (-1)-100. -1 & 0 were added as options 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@2685 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- GameSettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameSettings.cpp b/GameSettings.cpp index 3387dcaf..128a0046 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, 0, 100); + gGameExternalOptions.iPriceModifier = (INT16) iniReader.ReadInteger("JA2 Gameplay Settings","PRICE_MODIFIER",10, -1, 100); // WDS - Option to turn off stealing