(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
This commit is contained in:
@@ -338,6 +338,8 @@ public:
|
||||
*/
|
||||
virtual bool IsPrimaryVehicle() const { return false; }
|
||||
|
||||
const Engine *GetEngine() const;
|
||||
|
||||
/**
|
||||
* Gets the sprite to show for the given direction
|
||||
* @param direction the direction the vehicle is facing
|
||||
|
Reference in New Issue
Block a user