mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-07-14 16:15:14 +01:00
(svn r16103) -Fix (r11429): missing const
This commit is contained in:
parent
9a56844b67
commit
dff3e1d035
@ -259,7 +259,7 @@ StringIDToGRFIDMapping _string_to_grf_mapping;
|
|||||||
StringID MapGRFStringID(uint32 grfid, StringID str)
|
StringID MapGRFStringID(uint32 grfid, StringID str)
|
||||||
{
|
{
|
||||||
/* StringID table for TextIDs 0x4E->0x6D */
|
/* StringID table for TextIDs 0x4E->0x6D */
|
||||||
static StringID units_volume[] = {
|
static const StringID units_volume[] = {
|
||||||
STR_NOTHING, STR_PASSENGERS, STR_TONS, STR_BAGS,
|
STR_NOTHING, STR_PASSENGERS, STR_TONS, STR_BAGS,
|
||||||
STR_LITERS, STR_ITEMS, STR_CRATES, STR_TONS,
|
STR_LITERS, STR_ITEMS, STR_CRATES, STR_TONS,
|
||||||
STR_TONS, STR_TONS, STR_TONS, STR_BAGS,
|
STR_TONS, STR_TONS, STR_TONS, STR_BAGS,
|
||||||
|
Loading…
Reference in New Issue
Block a user