diff options
author | bjarni <bjarni@openttd.org> | 2004-12-28 17:18:46 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2004-12-28 17:18:46 +0000 |
commit | c4d073a4dedb9c8eca7b25a226703833b04c0266 (patch) | |
tree | cf66d4d813a26e378cfc675dff16f4bed5680147 /engine.h | |
parent | 5b8c604f47d4f8a121d9d87ea586e54ecf23ec41 (diff) | |
download | openttd-c4d073a4dedb9c8eca7b25a226703833b04c0266.tar.xz |
(svn r1290) Added type to typedef struct Engine and filled in the same data as in type in vehicle
it was kind of lame that you should use AircraftVehInfo(), ShipVehInfo() etc. if you wanted to know what type the engine is
Diffstat (limited to 'engine.h')
-rw-r--r-- | engine.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -70,6 +70,7 @@ typedef struct Engine { byte preview_wait; byte railtype; byte player_avail; + byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h } Engine; |