Fix a253205: remove (now) unused currency separator

This commit is contained in:
Rubidium
2024-02-18 11:37:41 +01:00
committed by rubidium42
parent 4f1bc39bf7
commit 15be383b93
7 changed files with 50 additions and 81 deletions

View File

@@ -2746,8 +2746,7 @@ static ChangeInfoResult GlobalVarChangeInfo(uint gvid, int numinfo, int prop, By
uint16_t options = buf->ReadWord();
if (curidx < CURRENCY_END) {
_currency_specs[curidx].separator.clear();
_currency_specs[curidx].separator.push_back(GB(options, 0, 8));
/* Ignore the thousands separator, as this is a translated thing. */
/* By specifying only one bit, we prevent errors,
* since newgrf specs said that only 0 and 1 can be set for symbol_pos */
_currency_specs[curidx].symbol_pos = GB(options, 8, 1);