(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user