(svn r8144) -Fix: [FS#163] When a station is removed, vehicles do not get excessive payment any longer, as the origin TILE is now stored as long as the origin STATION for the transported cargos. Basically this is only a temporary fix until cargopackets are implemented, but it fixes one of the oldest known bugs (Special Thanks to Darkvater for lots of testing)
This commit is contained in:
@@ -18,6 +18,7 @@ typedef struct GoodsEntry {
|
||||
days_since_pickup(0),
|
||||
rating(175),
|
||||
enroute_from(INVALID_STATION),
|
||||
enroute_from_xy(INVALID_TILE),
|
||||
last_speed(0),
|
||||
last_age(255),
|
||||
feeder_profit(0)
|
||||
@@ -27,6 +28,7 @@ typedef struct GoodsEntry {
|
||||
byte days_since_pickup;
|
||||
byte rating;
|
||||
StationID enroute_from;
|
||||
TileIndex enroute_from_xy;
|
||||
byte enroute_time;
|
||||
byte last_speed;
|
||||
byte last_age;
|
||||
|
Reference in New Issue
Block a user