From c85f049f521ca1c7f94fdbccae6657ab2af5451c Mon Sep 17 00:00:00 2001 From: matthijs Date: Wed, 4 May 2005 22:13:07 +0000 Subject: (svn r2267) - Codechange: Reverted the typedeffing of VehicleType (r2256), since that interfered with the saveload code. --- vehicle.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vehicle.h') diff --git a/vehicle.h b/vehicle.h index a53b52932..4302364f2 100644 --- a/vehicle.h +++ b/vehicle.h @@ -4,14 +4,14 @@ #include "pool.h" #include "order.h" -typedef enum VehicleTypes{ +enum { VEH_Train = 0x10, VEH_Road = 0x11, VEH_Ship = 0x12, VEH_Aircraft = 0x13, VEH_Special = 0x14, VEH_Disaster = 0x15, -} VehicleType; +} ; enum VehStatus { VS_HIDDEN = 1, @@ -131,7 +131,7 @@ struct WorldSprite { }; struct Vehicle { - VehicleType type; // type, ie roadven,train,ship,aircraft,special + byte type; // type, ie roadven,train,ship,aircraft,special byte subtype; // subtype (Filled with values from EffectVehicles or TrainSubTypes)(Filled with values from EffectVehicles or TrainSubTypes) uint16 index; // NOSAVE: Index in vehicle array -- cgit v1.2.3-54-g00ecf