changeset 7484 | 7734e4119e70 |
parent 7478 | 893d987adeef |
child 7488 | 6f51ddf4c225 |
--- a/src/roadveh.h Tue Aug 28 01:09:41 2007 +0000 +++ b/src/roadveh.h Tue Aug 28 06:46:33 2007 +0000 @@ -82,6 +82,7 @@ bool HasFront() const { return true; } int GetImage(Direction direction) const; int GetDisplaySpeed() const { return this->cur_speed * 10 / 32; } + int GetDisplayMaxSpeed() const { return this->max_speed * 10 / 32; } void Tick(); };