(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
This commit is contained in:
bjarni
2004-12-28 17:18:46 +00:00
parent 5b8c604f47
commit c4d073a4de
2 changed files with 22 additions and 2 deletions

View File

@@ -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;