(svn r19502) -Codechange: During NewGRF loading, store rail type labels in temporary data and process after loading has finished. This avoids deactivated rail vehicles being reactivated if the climate property is set after the rail type property.

This commit is contained in:
peter1138
2010-03-23 11:05:28 +00:00
parent f13dfb7b2c
commit d790f3db3a
2 changed files with 28 additions and 12 deletions

View File

@@ -16,6 +16,11 @@
typedef uint32 RailTypeLabel;
static const RailTypeLabel RAILTYPE_RAIL_LABEL = 'RAIL';
static const RailTypeLabel RAILTYPE_ELECTRIC_LABEL = 'ELRL';
static const RailTypeLabel RAILTYPE_MONO_LABEL = 'MONO';
static const RailTypeLabel RAILTYPE_MAGLEV_LABEL = 'MGLV';
/**
* Enumeration for all possible railtypes.
*