src/roadveh.h
changeset 7973 ce69b7781d4a
parent 7908 403a9694c42d
child 7974 6fcdebd75c19
--- a/src/roadveh.h	Sun Aug 26 20:16:02 2007 +0000
+++ b/src/roadveh.h	Sun Aug 26 20:43:22 2007 +0000
@@ -82,6 +82,7 @@
 	bool IsPrimaryVehicle() const { return IsRoadVehFront(this); }
 	bool HasFront() const { return true; }
 	int GetImage(Direction direction) const;
+	int GetDisplaySpeed() const { return this->cur_speed * 10 / 32; }
 	void Tick();
 };