(svn r10250) -Fix: money is always 64 bits, so always parse those 64 bits.

pull/155/head
rubidium 18 years ago
parent 3307cb32f4
commit fecf81496a

@ -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}

Loading…
Cancel
Save