(svn r21235) -Codechange: Move Train::UpdateVisualEffect to the Vehicle class (Hirundo)

This commit is contained in:
rubidium
2010-11-18 14:09:39 +00:00
parent 797435f05d
commit b9407f7ca0
4 changed files with 47 additions and 46 deletions

View File

@@ -365,8 +365,6 @@ struct Train : public GroundVehicle<Train, VEH_TRAIN> {
protected: // These functions should not be called outside acceleration code.
void UpdateVisualEffect(bool allow_power_change);
/**
* Allows to know the power value that this vehicle will use.
* @return Power value from the engine in HP, or zero if the vehicle is not powered.