mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r9027) -Fix [FS#664]: desync caused by buffer overrun.
This commit is contained in:
parent
e073c085dc
commit
38cc68898d
@ -173,7 +173,7 @@ void ResetCurrencies(void)
|
|||||||
StringID* BuildCurrencyDropdown(void)
|
StringID* BuildCurrencyDropdown(void)
|
||||||
{
|
{
|
||||||
/* Allow room for all currencies, plus a terminator entry */
|
/* Allow room for all currencies, plus a terminator entry */
|
||||||
static StringID names[CUSTOM_CURRENCY_ID];
|
static StringID names[NUM_CURRENCY + 1];
|
||||||
uint i;
|
uint i;
|
||||||
|
|
||||||
/* Add each name */
|
/* Add each name */
|
||||||
|
Loading…
Reference in New Issue
Block a user