diff options
author | ludde <ludde@openttd.org> | 2005-07-13 20:41:44 +0000 |
---|---|---|
committer | ludde <ludde@openttd.org> | 2005-07-13 20:41:44 +0000 |
commit | 404575e4d32d8bed8af74f17469b4e970d1c6eac (patch) | |
tree | 771efd86d6bbfceb70a4d624b3ab560b12ef6564 /strings.c | |
parent | 569a03dd3458b05109d9e52d57923cad35c6d172 (diff) | |
download | openttd-404575e4d32d8bed8af74f17469b4e970d1c6eac.tar.xz |
(svn r2562) Fix: Merged {NUMU16}, {INT32}. They do the same thing now.
Diffstat (limited to 'strings.c')
-rw-r--r-- | strings.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -416,8 +416,8 @@ static char *DecodeString(char *buff, const char *str) case 0x7D: // {COMMA8} assert(0); break; - case 0x7E: // {NUMU16} - buff = FormatNoCommaNumber(buff, GetParamInt16()); + case 0x7E: // {NUMU16}, {INT32} + buff = FormatNoCommaNumber(buff, GetParamInt32()); break; case 0x7F: // {CURRENCY} buff = FormatGenericCurrency(buff, &_currency_specs[_opt_ptr->currency], GetParamInt32(), false); @@ -453,9 +453,6 @@ static char *DecodeString(char *buff, const char *str) case 0: /* {CURRCOMPACT} */ buff = FormatGenericCurrency(buff, &_currency_specs[_opt_ptr->currency], GetParamInt32(), true); break; - case 1: /* {INT32} */ - buff = FormatNoCommaNumber(buff, GetParamInt32()); - break; case 2: /* {REV} */ buff = strecpy(buff, _openttd_revision, NULL); break; |