summaryrefslogtreecommitdiff
path: root/src/table/railtypes.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-08-24 23:00:11 +0000
committerpeter1138 <peter1138@openttd.org>2008-08-24 23:00:11 +0000
commit2f80a277eb88271f2f0534b85bb3fbe97b036e12 (patch)
tree0bb45167329807ec747b24cc185e85fc2dee3a18 /src/table/railtypes.h
parentff07598ce23d2126e6dbdf6eb4db2bb346e4de11 (diff)
downloadopenttd-2f80a277eb88271f2f0534b85bb3fbe97b036e12.tar.xz
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
Diffstat (limited to 'src/table/railtypes.h')
-rw-r--r--src/table/railtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/railtypes.h b/src/table/railtypes.h
index 8bfa65645..3a5467cb0 100644
--- a/src/table/railtypes.h
+++ b/src/table/railtypes.h
@@ -9,7 +9,7 @@
/** Global Railtype definition
*/
-RailtypeInfo _railtypes[] = {
+static const RailtypeInfo _original_railtypes[] = {
/** Railway */
{ /* Main Sprites */
{ SPR_RAIL_TRACK_Y, SPR_RAIL_TRACK_N_S, SPR_RAIL_TRACK_BASE, SPR_RAIL_SINGLE_Y, SPR_RAIL_SINGLE_X,