(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
This commit is contained in:
truelight
2005-01-09 16:02:06 +00:00
parent 0cfc15a475
commit d9ea82a886
3 changed files with 50 additions and 18 deletions

View File

@@ -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 {