summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-21 16:08:18 +0000
committertron <tron@openttd.org>2007-01-21 16:08:18 +0000
commitbc523186e0f67d15d3ddaa509c3dc93682d32565 (patch)
tree62b971a1827e32a4c7c4c5d5c4b6ffac8ec5e910 /src/engine.h
parent9e9d5905f3a6bd41cca2529a2f46e12610f07847 (diff)
downloadopenttd-bc523186e0f67d15d3ddaa509c3dc93682d32565.tar.xz
(svn r8314) -Fix
-Codechange: Move the railtype from EngineInfo to RailVehicleInfo, because having a railtype for non-rail vehicles isn't that useful
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine.h b/src/engine.h
index 053527be0..083f2d69b 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -13,6 +13,7 @@ typedef struct RailVehicleInfo {
byte image_index;
byte flags; /* 1=multihead engine, 2=wagon */
byte base_cost;
+ byte railtype;
uint16 max_speed;
uint16 power;
uint16 weight;
@@ -81,8 +82,7 @@ typedef struct EngineInfo {
Year lifelength;
Year base_life;
byte load_amount;
- byte railtype:4;
- byte climates:4;
+ byte climates;
uint32 refit_mask;
byte refit_cost;
byte misc_flags;