From 7ce12e50da88b1e56f9abfd022f644fad164f03f Mon Sep 17 00:00:00 2001 From: glx Date: Fri, 1 Feb 2008 22:02:14 +0000 Subject: (svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class --- src/train.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/train.h') 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 */ -- cgit v1.2.3-54-g00ecf