summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-08-15 19:53:53 +0000
committerfrosch <frosch@openttd.org>2010-08-15 19:53:53 +0000
commit57a098bcccf8bbd5de95ae56d8f64e1427523844 (patch)
tree3483edef04fea7cdc6a769c63552ee27dbe20551 /src/train.h
parent4ca2609362572ec218a7e9e05b9f9bdb76900b6e (diff)
downloadopenttd-57a098bcccf8bbd5de95ae56d8f64e1427523844.tar.xz
(svn r20504) -Codechange: Move updating of train's visual effect to separate function.
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index 40c340328..885130ba7 100644
--- a/src/train.h
+++ b/src/train.h
@@ -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.