changeset 8057 | 624ab0243ea2 |
parent 8047 | bcc7782ef238 |
child 8089 | a172d415e963 |
--- a/src/train_cmd.cpp Mon Sep 10 15:36:33 2007 +0000 +++ b/src/train_cmd.cpp Mon Sep 10 17:13:37 2007 +0000 @@ -304,7 +304,7 @@ static int GetTrainAcceleration(Vehicle *v, bool mode) { int max_speed = 2000; - int speed = v->GetDisplaySpeed(); //[mph] + int speed = v->cur_speed * 10 / 16; // km-ish/h -> mp/h int curvecount[2] = {0, 0}; /*first find the curve speed limit */