(svn r20504) -Codechange: Move updating of train's visual effect to separate function.
This commit is contained in:
@@ -372,6 +372,8 @@ struct Train : public GroundVehicle<Train, VEH_TRAIN> {
|
||||
|
||||
protected: // These functions should not be called outside acceleration code.
|
||||
|
||||
void UpdateVisualEffect();
|
||||
|
||||
/**
|
||||
* 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.
|
||||
|
Reference in New Issue
Block a user