mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-16 17:15:05 +01:00
(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.
This commit is contained in:
parent
b6cbd30c3f
commit
bc01e53967
@ -569,7 +569,7 @@ static char* FormatString(char* buff, const char* str, const int32* argv, uint c
|
|||||||
}
|
}
|
||||||
|
|
||||||
case SCC_CURRENCY_COMPACT: /* {CURRCOMPACT} */
|
case SCC_CURRENCY_COMPACT: /* {CURRCOMPACT} */
|
||||||
buff = FormatGenericCurrency(buff, _currency, GetInt32(&argv), true, last);
|
buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), true, last);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SCC_REVISION: /* {REV} */
|
case SCC_REVISION: /* {REV} */
|
||||||
@ -801,7 +801,7 @@ static char* FormatString(char* buff, const char* str, const int32* argv, uint c
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case SCC_CURRENCY: // {CURRENCY}
|
case SCC_CURRENCY: // {CURRENCY}
|
||||||
buff = FormatGenericCurrency(buff, _currency, GetInt32(&argv), false, last);
|
buff = FormatGenericCurrency(buff, _currency, GetInt64(&argv), false, last);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SCC_WAYPOINT_NAME: { // {WAYPOINT}
|
case SCC_WAYPOINT_NAME: { // {WAYPOINT}
|
||||||
|
Loading…
Reference in New Issue
Block a user