summaryrefslogtreecommitdiff
path: root/src/train.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train.h b/src/train.h
index 750dbe3f1..4816a251b 100644
--- a/src/train.h
+++ b/src/train.h
@@ -329,7 +329,7 @@ struct Train : public Vehicle {
Money GetRunningCost() const;
bool IsInDepot() const { return CheckTrainInDepot(this, false) != -1; }
bool IsStoppedInDepot() const { return CheckTrainStoppedInDepot(this) >= 0; }
- void Tick();
+ bool Tick();
void OnNewDay();
TileIndex GetOrderStationLocation(StationID station);
bool FindClosestDepot(TileIndex *location, DestinationID *destination, bool *reverse);