summaryrefslogtreecommitdiff
path: root/src/vehicle_type.h
diff options
context:
space:
mode:
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;