diff options
author | rubidium <rubidium@openttd.org> | 2007-09-09 11:23:49 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-09-09 11:23:49 +0000 |
commit | 40b871410b557aa8fdf6c2ea1d872a2563c922ab (patch) | |
tree | f20482e13f3272992a0ec242e6105684bc4d19b0 /src/vehicle.h | |
parent | efea7622acb6dbf5b4a75be3e0b0c6d016e5feb1 (diff) | |
download | openttd-40b871410b557aa8fdf6c2ea1d872a2563c922ab.tar.xz |
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index 509a87e4c..7b2b230fc 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -421,12 +421,6 @@ public: virtual bool IsPrimaryVehicle() const { return false; } /** - * Whether this vehicle understands the concept of a front engine, so - * basically, if GetFirstVehicleInChain() can be called for it. - */ - virtual bool HasFront() const { return false; } - - /** * Gets the sprite to show for the given direction * @param direction the direction the vehicle is facing * @return the sprite for the given vehicle in the given direction |