diff options
author | smatz <smatz@openttd.org> | 2009-08-08 16:42:55 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-08-08 16:42:55 +0000 |
commit | 2a430d981f680485b9d4f9e5fab8bc642952b9bf (patch) | |
tree | e37f617ae610677d7c92aad77b5f184545599102 /src/station.cpp | |
parent | eff8cb839072c3aa80d1e54b189810061160669a (diff) | |
download | openttd-2a430d981f680485b9d4f9e5fab8bc642952b9bf.tar.xz |
(svn r17113) -Change [FS#265][FS#2094][FS#2589]: apply the subsidy when subsidy's destination is in station's catchment area and cargo packets originate from subsidy's source
-Change [FS#1134]: subsidies aren't bound to stations after awarding anymore, they still apply to town or industry, no matter what station is used for loading and unloading. Awarded subsidies from older savegames are lost
-Change [NoAI]: due to these changes, AISubsidy::GetSource and AISubsidy::GetDestination now return STATION_INVALID for awarded subsidies
Diffstat (limited to 'src/station.cpp')
-rw-r--r-- | src/station.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/station.cpp b/src/station.cpp index 81c6c186d..749c81174 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -90,9 +90,6 @@ Station::~Station() /* Now delete all orders that go to the station */ RemoveOrderFromAllVehicles(OT_GOTO_STATION, this->index); - /* Subsidies need removal as well */ - DeleteSubsidyWith(ST_STATION, this->index); - /* Remove all news items */ DeleteStationNews(this->index); |