summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2008-02-01 22:02:14 +0000
committerglx <glx@openttd.org>2008-02-01 22:02:14 +0000
commit525409b0fc2bf3668d2dc0228fc8d2e14a5e7a48 (patch)
tree85232d22f5526c6d36a56090c71361bfa9b43bb6 /src/train.h
parent67782add1125d7c3209b02b3dde27e5ebb3be6d1 (diff)
downloadopenttd-525409b0fc2bf3668d2dc0228fc8d2e14a5e7a48.tar.xz
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h
index 7a373913c..05b795182 100644
--- a/src/train.h
+++ b/src/train.h
@@ -304,6 +304,7 @@ struct Train : public Vehicle {
bool IsInDepot() const { return CheckTrainInDepot(this, false) != -1; }
bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; }
void Tick();
+ void OnNewDay();
};
#endif /* TRAIN_H */