diff options
author | tron <tron@openttd.org> | 2007-01-24 07:14:09 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2007-01-24 07:14:09 +0000 |
commit | 0996de79df839647968838498d1953319705606d (patch) | |
tree | e2918d49dec3bdc87eab67e767fcb414e9cc04c2 /src/engine.h | |
parent | e2f72cbf1ff97f1b0eab68614ac730fe8cd47b73 (diff) | |
download | openttd-0996de79df839647968838498d1953319705606d.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.h | 3 |
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; |