summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-03-25 23:57:09 +0000
committerbelugas <belugas@openttd.org>2007-03-25 23:57:09 +0000
commitac784b5fbe2dd0e2b248fe779801f12cd8b3a13a (patch)
tree6a9ab410a12ae6b96bdbc7cb160b661da548a49e
parent683aae8abf2486a124938691c32172f043d8a45f (diff)
downloadopenttd-ac784b5fbe2dd0e2b248fe779801f12cd8b3a13a.tar.xz
(svn r9469) -Fix(r3720): The maximum year allowed for to_euro conversion of custom currency was set to 1000, making it impossible to ever have one. Now, with 3000, it should be a little more comfortable
-rw-r--r--projects/openttd_vs80.vcproj6
-rw-r--r--src/settings.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/projects/openttd_vs80.vcproj b/projects/openttd_vs80.vcproj
index 360f08155..6afe9ed70 100644
--- a/projects/openttd_vs80.vcproj
+++ b/projects/openttd_vs80.vcproj
@@ -308,7 +308,7 @@
AdditionalDependencies="winmm.lib ws2_32.lib libpng.lib zlibstat.lib dxguid.lib libfreetype2.lib"
LinkIncremental="0"
SuppressStartupBanner="true"
- IgnoreDefaultLibraryNames="LIBCMT.lib"
+ IgnoreDefaultLibraryNames="LIBCMT.lib;LIBC.lib"
GenerateDebugInformation="true"
SubSystem="2"
TargetMachine="1"
@@ -448,11 +448,11 @@
>
</File>
<File
- RelativePath=".\..\src\aystar.cpp"
+ RelativePath=".\..\src\autoreplace_cmd.cpp"
>
</File>
<File
- RelativePath=".\..\src\autoreplace_cmd.cpp"
+ RelativePath=".\..\src\aystar.cpp"
>
</File>
<File
diff --git a/src/settings.cpp b/src/settings.cpp
index 1aec9d641..ed7e94b77 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1509,7 +1509,7 @@ const SettingDesc _patch_settings[] = {
static const SettingDesc _currency_settings[] = {
SDT_VAR(CurrencySpec, rate, SLE_UINT16, S, 0, 1, 0, 100, 0, STR_NULL, NULL),
SDT_CHR(CurrencySpec, separator, S, 0, ".", STR_NULL, NULL),
- SDT_VAR(CurrencySpec, to_euro, SLE_INT32, S, 0, 0, 0,1000, 0, STR_NULL, NULL),
+ SDT_VAR(CurrencySpec, to_euro, SLE_INT32, S, 0, 0, 0,3000, 0, STR_NULL, NULL),
SDT_STR(CurrencySpec, prefix, SLE_STRBQ, S, 0, NULL, STR_NULL, NULL),
SDT_STR(CurrencySpec, suffix, SLE_STRBQ, S, 0, " credits", STR_NULL, NULL),
SDT_END()