summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-11-27 17:13:49 +0000
committerbelugas <belugas@openttd.org>2007-11-27 17:13:49 +0000
commitb10eea628d07bf69c22faa6a156c337b41c15276 (patch)
treeaca3c585347e4c3ad09d02252de1e3024066003f /src/table
parent1682d5d6796505c7d87ab179cd7f95cccd31dd2c (diff)
downloadopenttd-b10eea628d07bf69c22faa6a156c337b41c15276.tar.xz
(svn r11534) -Feature(newgrf): Implement property 23h for Industries.
This will add a cost to the removal of an industry using the cheat magic bulldozer. Note that the removal of regular or newgrf industries without specified removal cost will have no cost applied to. This is a difference from original spec, where a default base cost is added.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/build_industry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/build_industry.h b/src/table/build_industry.h
index 9c2f2eb47..604146e2e 100644
--- a/src/table/build_industry.h
+++ b/src/table/build_industry.h
@@ -1175,7 +1175,7 @@ enum {
#define MI(tbl, sndc, snd, d, pc, ai1, ai2, ai3, ai4, ag1, ag2, ag3, ag4, col, \
c1, c2, c3, proc, p1, r1, p2, r2, m, a1, im1, a2, im2, a3, im3, pr, clim, bev, in, intx, s1, s2, s3) \
- {tbl, lengthof(tbl), min(255, d), d, pc, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \
+ {tbl, lengthof(tbl), min(255, d), 0, d, pc, {c1, c2, c3}, proc, {p1, p2}, {r1, r2}, m, \
{a1, a2, a3}, {{im1, 0}, {im2, 0}, {im3, 0}}, pr, clim, bev, col, in, intx, s1, s2, s3, {ai1, ai2, ai3, ai4}, {ag1, ag2, ag3, ag4}, \
sndc, snd, 0, 0, true, {INVALID_INDUSTRYTYPE, 0, NULL, NULL, INVALID_INDUSTRYTYPE}}
/* Format: