summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-06-15 16:58:15 +0000
committercelestar <celestar@openttd.org>2005-06-15 16:58:15 +0000
commit9b8cb17831751c2c8a6410b2e4e917eb0916515b (patch)
tree2eb137bb1707e901e92c6b76b07fab582068ccbc /station_cmd.c
parent85fae22fa8b2e35099fcd699409b4b3606d99835 (diff)
downloadopenttd-9b8cb17831751c2c8a6410b2e4e917eb0916515b.tar.xz
(svn r2441) -Feature: You can now give transfer order to set up feeder systems
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/station_cmd.c b/station_cmd.c
index 4876b896f..dfc41fbd3 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -458,6 +458,7 @@ static void StationInitialize(Station *st, TileIndex tile)
ge->rating = 175;
ge->last_speed = 0;
ge->last_age = 0xFF;
+ ge->feeder_profit = 0;
}
_global_station_sort_dirty = true; // build a new station
@@ -3044,6 +3045,7 @@ static const SaveLoad _goods_desc[] = {
SLE_VAR(GoodsEntry,enroute_time, SLE_UINT8),
SLE_VAR(GoodsEntry,last_speed, SLE_UINT8),
SLE_VAR(GoodsEntry,last_age, SLE_UINT8),
+ SLE_CONDVAR(GoodsEntry,feeder_profit, SLE_INT32, 14, 255),
SLE_END()
};