(svn r14158) -Codechange: Initialization of rail type data from static source, so data can be changed.

This commit is contained in:
peter1138
2008-08-24 23:00:11 +00:00
parent ff07598ce2
commit 2f80a277eb
4 changed files with 22 additions and 1 deletions

View File

@@ -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());