From dff3e1d035ff5ffa072a823ca8bbe615d0f58ac3 Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 20 Apr 2009 21:30:34 +0000 Subject: (svn r16103) -Fix (r11429): missing const --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 43f3382eb..42a54a15e 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -259,7 +259,7 @@ StringIDToGRFIDMapping _string_to_grf_mapping; StringID MapGRFStringID(uint32 grfid, StringID str) { /* StringID table for TextIDs 0x4E->0x6D */ - static StringID units_volume[] = { + static const StringID units_volume[] = { STR_NOTHING, STR_PASSENGERS, STR_TONS, STR_BAGS, STR_LITERS, STR_ITEMS, STR_CRATES, STR_TONS, STR_TONS, STR_TONS, STR_TONS, STR_BAGS, -- cgit v1.2.3-54-g00ecf