summaryrefslogtreecommitdiff
path: root/bin/ai/regression/tst_regression
diff options
context:
space:
mode:
authorPeterN <peter@fuzzle.org>2019-04-13 14:27:57 +0100
committerGitHub <noreply@github.com>2019-04-13 14:27:57 +0100
commit3bbd7ea2c1a7f3631362805da76848112f7a606d (patch)
tree844aa787fc1043c392a20ec800d49b907f3f7580 /bin/ai/regression/tst_regression
parentabe8cf4985da211ad70c6232a3c737f15574f5de (diff)
downloadopenttd-3bbd7ea2c1a7f3631362805da76848112f7a606d.tar.xz
Fix: Industry coverage area is no longer rectangular. (#7464)
AIs test station catchment in reverse to how players see station catchment. This did not take account of non-rectangular station catchment areas, so AIs could end up placing stations in locations that did not accept/deliver cargo.
Diffstat (limited to 'bin/ai/regression/tst_regression')
-rw-r--r--bin/ai/regression/tst_regression/result.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ai/regression/tst_regression/result.txt b/bin/ai/regression/tst_regression/result.txt
index 58736c68b..18ae14cb7 100644
--- a/bin/ai/regression/tst_regression/result.txt
+++ b/bin/ai/regression/tst_regression/result.txt
@@ -8534,7 +8534,7 @@ ERROR: IsEnd() is invalid as Begin() is never called
19693 => 8
--TileList_IndustryProducing--
- Count(): 92
+ Count(): 90
Location ListDump:
46919 => 1
46918 => 1
@@ -8626,8 +8626,6 @@ ERROR: IsEnd() is invalid as Begin() is never called
44353 => 1
44352 => 1
44351 => 1
- 46920 => 0
- 46911 => 0
--TileList_StationType--
Count(): 4