summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
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
commite999f189e6641fc09f2522b44f81a757feccde34 (patch)
tree0bb45167329807ec747b24cc185e85fc2dee3a18 /src/newgrf.cpp
parent6261063689a738338e1c37b183a8c6509ebd0b8d (diff)
downloadopenttd-e999f189e6641fc09f2522b44f81a757feccde34.tar.xz
(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 44892df0b..cf3e53a52 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -5422,6 +5422,9 @@ static void ResetNewGRFData()
/* Copy/reset original bridge info data */
ResetBridges();
+ /* Reset rail type information */
+ ResetRailTypes();
+
/* Allocate temporary refit/cargo class data */
_gted = CallocT<GRFTempEngineData>(GetEnginePoolSize());