From 90f85c957ad8e8d2dfd23535701b3079fc2d2718 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 Jul 2007 19:24:54 +0000 Subject: (svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class. --- src/roadveh.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/roadveh.h') diff --git a/src/roadveh.h b/src/roadveh.h index f623317a8..59097d177 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -82,6 +82,7 @@ struct RoadVehicle : public Vehicle { bool IsPrimaryVehicle() const { return IsRoadVehFront(this); } bool HasFront() const { return true; } int GetImage(Direction direction) const; + void Tick(); }; byte GetRoadVehLength(const Vehicle *v); -- cgit v1.2.3-54-g00ecf