diff options
author | truelight <truelight@openttd.org> | 2005-01-09 16:02:06 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2005-01-09 16:02:06 +0000 |
commit | 32f480a4aebb85abc03dad56149c2d05bcf8a65b (patch) | |
tree | d8c14f455f5dc2cf54de21fd2c39f0f1bef4b4f4 /vehicle.h | |
parent | 9853d4e0d428b3a6288c22804c6e34475f1bb0cb (diff) | |
download | openttd-32f480a4aebb85abc03dad56149c2d05bcf8a65b.tar.xz |
(svn r1445) -Fix: reversing a train also reverses the UP and DOWN status for the
realistic acceleration calculation
-Fix: there was a big bug in setting the UP and DOWN flags making it
easy possible for a overloaded train to go up a mountain. This is no
longer possible. They will hang at a certain height
Diffstat (limited to 'vehicle.h')
-rw-r--r-- | vehicle.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -55,11 +55,11 @@ typedef struct VehicleRail { } VehicleRail; enum { - VRF_REVERSING = 1, + VRF_REVERSING = 0, // used to calculate if train is going up or down - VRF_GOINGUP = 2, - VRF_GOINGDOWN = 4, + VRF_GOINGUP = 1, + VRF_GOINGDOWN = 2, }; typedef struct VehicleAir { |