(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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user