diff options
author | frosch <frosch@openttd.org> | 2012-11-12 21:59:02 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-12 21:59:02 +0000 |
commit | 883f9bec9b762f3615524726cd8e17c2df19dbe1 (patch) | |
tree | fc7994745489e7d7148bb0151963faa12e29a745 /src/economy.cpp | |
parent | ce87b8fc63c424fcb403130b2a5cf0dcf7c2980d (diff) | |
download | openttd-883f9bec9b762f3615524726cd8e17c2df19dbe1.tar.xz |
(svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 42d010759..92f9a0cd5 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -1472,7 +1472,7 @@ static void LoadUnloadVehicle(Vehicle *front, int *cargo_left) /* if last speed is 0, we treat that as if no vehicle has ever visited the station. */ ge->last_speed = min(t, 255); ge->last_age = min(_cur_year - front->build_year, 255); - ge->days_since_pickup = 0; + ge->time_since_pickup = 0; /* If there's goods waiting at the station, and the vehicle * has capacity for it, load it on the vehicle. */ |