summaryrefslogtreecommitdiff
path: root/src/vehicle_type.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-22 15:13:50 +0000
committersmatz <smatz@openttd.org>2009-05-22 15:13:50 +0000
commit62a7948af0ca9eb3b190a54918201e1075edcbbc (patch)
tree27a79b7850682cd43cac2462c3410ed8b567c4b2 /src/vehicle_type.h
parent04723b240ebc7384954f73590be517ad2a47ce04 (diff)
downloadopenttd-62a7948af0ca9eb3b190a54918201e1075edcbbc.tar.xz
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
Diffstat (limited to 'src/vehicle_type.h')
-rw-r--r--src/vehicle_type.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vehicle_type.h b/src/vehicle_type.h
index 76d552b3e..d1152ace3 100644
--- a/src/vehicle_type.h
+++ b/src/vehicle_type.h
@@ -28,12 +28,6 @@ struct Vehicle;
struct BaseVehicle
{
VehicleTypeByte type; ///< Type of vehicle
-
- /**
- * Is this vehicle a valid vehicle?
- * @return true if and only if the vehicle is valid.
- */
- inline bool IsValid() const { return this->type != VEH_INVALID; }
};
static const VehicleID INVALID_VEHICLE = 0xFFFF;