diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 15:37:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 15:37:05 +0000 |
commit | bc01e5396774f00e54d3e306d4ceb0aa5abb05c8 (patch) | |
tree | 66482e59fc10595a57f39949a51dc08cf6b27839 /src | |
parent | b6cbd30c3fb24e4f97a61853f6e1ee86ba0e99c4 (diff) | |
download | openttd-bc01e5396774f00e54d3e306d4ceb0aa5abb05c8.tar.xz |
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
Diffstat (limited to 'src')
-rw-r--r-- | src/strings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index 24fc29c47..5ac7133c4 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -569,7 +569,7 @@ static char* FormatString(char* buff, const char* str, const int32* argv, uint c } case SCC_CURRENCY_COMPACT: /* {CURRCOMPACT} */ - buff = FormatGenericCurrency(buff, _currency, GetInt32(&argv), true, last); + buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), true, last); break; case SCC_REVISION: /* {REV} */ @@ -801,7 +801,7 @@ static char* FormatString(char* buff, const char* str, const int32* argv, uint c break; case SCC_CURRENCY: // {CURRENCY} - buff = FormatGenericCurrency(buff, _currency, GetInt32(&argv), false, last); + buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), false, last); break; case SCC_WAYPOINT_NAME: { // {WAYPOINT} |