From 28fc7b47bd35acc860e84e3885d13ffb0fad2c83 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 4 Jan 2010 21:10:20 +0000 Subject: (svn r18726) -Fix [FS#3463]: with non-uniform industries the 'supplies' text when building a station could be incorrect (missing a cargo) -Change [NoAI]: AITile::GetCargoProduction now returns the number of producers and not the number of tiles of producers. -Fix [NoAI]: AITileList_IndustryProducing would omit some tiles for at which a station would get cargo. --- src/ai/api/ai_changelog.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/ai/api/ai_changelog.hpp') diff --git a/src/ai/api/ai_changelog.hpp b/src/ai/api/ai_changelog.hpp index 23b9d1573..7abe9023f 100644 --- a/src/ai/api/ai_changelog.hpp +++ b/src/ai/api/ai_changelog.hpp @@ -91,6 +91,12 @@ * vehicle of that type in your company, regardless if it's still buildable * or not. AIEngine::IsBuildable returns only true when you can actually * build an engine. + * \li AITile::GetCargoProduction will now return the number of producers, + * including houses instead the number of producing tiles. This means that + * also industries that do not have a tile within the radius, but where + * the search bounding box and the industry's bounding box intersect, are + * counted. Previously these industries (and their cargos), although they + * produced cargo for a station at the given location, were not returned. * * \b 0.7.5 * -- cgit v1.2.3-54-g00ecf