(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.

This commit is contained in:
rubidium
2007-09-09 11:23:49 +00:00
parent 1f1ce4ac5b
commit 643ffb270c
8 changed files with 5 additions and 15 deletions

View File

@@ -420,12 +420,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