@@ -113,13 +113,13 @@ struct Engine : EnginePool::PoolItem<&_e
uint16 GetRange() const;
/**
* Check if the engine is a ground vehicle.
* @return True iff the engine is a train or a road vehicle.
*/
FORCEINLINE bool IsGroundVehicle() const
inline bool IsGroundVehicle() const
{
return this->type == VEH_TRAIN || this->type == VEH_ROAD;
}
* Retrieve the NewGRF the engine is tied to.