diff options
author | peter1138 <peter1138@openttd.org> | 2010-03-23 11:05:28 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2010-03-23 11:05:28 +0000 |
commit | d790f3db3a30f8b7c0f987a4d434358cf3695a85 (patch) | |
tree | bbe2729f7377f62fd8ec4f4b3732468989b825af /src/rail_type.h | |
parent | f13dfb7b2c03ad3a73d5dec1e6c817fd5a91798e (diff) | |
download | openttd-d790f3db3a30f8b7c0f987a4d434358cf3695a85.tar.xz |
(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.
Diffstat (limited to 'src/rail_type.h')
-rw-r--r-- | src/rail_type.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rail_type.h b/src/rail_type.h index 18a769841..1ad5d9698 100644 --- a/src/rail_type.h +++ b/src/rail_type.h @@ -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. * |