(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 c476b34b23
commit bd580437b8
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;