summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-24 07:14:09 +0000
committertron <tron@openttd.org>2007-01-24 07:14:09 +0000
commit7fffe8b3d4cc8c75d6ae40c487d4b23fb22b2946 (patch)
treee2918d49dec3bdc87eab67e767fcb414e9cc04c2 /src/engine.h
parent4dd0d007b1cf1f595fba5d690a096e69c7bbca20 (diff)
downloadopenttd-7fffe8b3d4cc8c75d6ae40c487d4b23fb22b2946.tar.xz
(svn r8385) -Fix
-Regression (r8314): I only did half the necessary changes to move railtype from Engine to RailVehicleInfo. Now do the rest.
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine.h b/src/engine.h
index ef272f4d7..05ffb33a7 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -13,7 +13,7 @@ typedef struct RailVehicleInfo {
byte image_index;
byte flags; /* 1=multihead engine, 2=wagon */
byte base_cost;
- byte railtype;
+ RailTypeByte railtype;
uint16 max_speed;
uint16 power;
uint16 weight;
@@ -100,7 +100,6 @@ typedef struct Engine {
byte flags;
PlayerByte preview_player;
byte preview_wait;
- RailTypeByte railtype;
byte player_avail;
byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h
} Engine;