summaryrefslogtreecommitdiff
path: root/src/vehicle.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2007-01-27 12:29:55 +0000
committerDarkvater <darkvater@openttd.org>2007-01-27 12:29:55 +0000
commit50ca901b40664453fe90a396577e6438fd45dc27 (patch)
treec85d1c112d4c04fb8079a90418ad3b654765dff3 /src/vehicle.h
parent8bebb83de97756e1781c418dc1fcc021fad483db (diff)
downloadopenttd-50ca901b40664453fe90a396577e6438fd45dc27.tar.xz
(svn r8428) -Codechange: Add proper names to aircraft subtypes instead of magic numbers and add a function IsNormalAircraft() which tells us whether the aircraft is in fact some flying device or a rotor/shadow.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r--src/vehicle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.h b/src/vehicle.h
index dc994b832..2b7773ced 100644
--- a/src/vehicle.h
+++ b/src/vehicle.h
@@ -144,7 +144,7 @@ typedef struct VehicleShip {
struct Vehicle {
byte type; // type, ie roadven,train,ship,aircraft,special
- byte subtype; // subtype (Filled with values from EffectVehicles or TrainSubTypes)
+ byte subtype; // subtype (Filled with values from EffectVehicles/TrainSubTypes/AircraftSubTypes)
VehicleID index; // NOSAVE: Index in vehicle array