diff options
author | rubidium <rubidium@openttd.org> | 2009-09-16 19:10:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-16 19:10:50 +0000 |
commit | 430ce1941871d71a3c8cf6259001a488bdfeb9da (patch) | |
tree | 96bc0bd7facb66575cb18c456c744ecf932607cb /src/newgrf_industrytiles.cpp | |
parent | 24e9ee8ab4244b5562d3a780b153b33d1a5b64df (diff) | |
download | openttd-430ce1941871d71a3c8cf6259001a488bdfeb9da.tar.xz |
(svn r17558) -Feature [NewGRF]: callbacks for houses to disable drawing foundations and to disable slope changes, like industry tile callbacks 30 and 3C.
Diffstat (limited to 'src/newgrf_industrytiles.cpp')
-rw-r--r-- | src/newgrf_industrytiles.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.cpp b/src/newgrf_industrytiles.cpp index a8c125727..a661fd018 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -244,7 +244,7 @@ bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const Indus if (HasBit(inds->callback_mask, CBM_INDT_DRAW_FOUNDATIONS)) { /* Called to determine the type (if any) of foundation to draw for industry tile */ uint32 callback_res = GetIndustryTileCallback(CBID_INDUSTRY_DRAW_FOUNDATIONS, 0, 0, gfx, i, ti->tile); - draw_old_one = callback_res != 0; + draw_old_one = (callback_res != 0); } if (draw_old_one) DrawFoundation(ti, FOUNDATION_LEVELED); |