File diff r28800:381a234fb097 → r28801:c5b7832cf53a
src/newgrf.cpp
Show inline comments
 
@@ -2746,7 +2746,8 @@ static ChangeInfoResult GlobalVarChangeI
 
				uint16_t options = buf->ReadWord();
 

	
 
				if (curidx < CURRENCY_END) {
 
					/* Ignore the thousands separator, as this is a translated thing. */
 
					_currency_specs[curidx].separator.clear();
 
					_currency_specs[curidx].separator.push_back(GB(options, 0, 8));
 
					/* 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);