diff options
author | smatz <smatz@openttd.org> | 2009-04-20 21:30:34 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-04-20 21:30:34 +0000 |
commit | dff3e1d035ff5ffa072a823ca8bbe615d0f58ac3 (patch) | |
tree | 5065784da1fb61369177f60f34a1c3d660f17135 | |
parent | 9a56844b67199ad985b732e3e4e9cb8c471a8887 (diff) | |
download | openttd-dff3e1d035ff5ffa072a823ca8bbe615d0f58ac3.tar.xz |
(svn r16103) -Fix (r11429): missing const
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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, |