summaryrefslogtreecommitdiff
path: root/src/newgrf_industrytiles.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-02-27 10:21:59 +0000
committeralberth <alberth@openttd.org>2010-02-27 10:21:59 +0000
commitb33264f30f598244f24fae9ed2aca7adc037f831 (patch)
treec275bc0fa5b83c7c459dd5973adc8d7b4bed8d53 /src/newgrf_industrytiles.h
parent1c66ce9ea3affb6c33389dd0ac3b3c2a832fa335 (diff)
downloadopenttd-b33264f30f598244f24fae9ed2aca7adc037f831.tar.xz
(svn r19269) -Codechange: PerformIndustryTileSlopeCheck() returns a succeeded or failed command.
Diffstat (limited to 'src/newgrf_industrytiles.h')
-rw-r--r--src/newgrf_industrytiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_industrytiles.h b/src/newgrf_industrytiles.h
index 15751ff81..086e6b120 100644
--- a/src/newgrf_industrytiles.h
+++ b/src/newgrf_industrytiles.h
@@ -27,7 +27,7 @@ enum IndustryAnimationTrigger {
bool DrawNewIndustryTile(TileInfo *ti, Industry *i, IndustryGfx gfx, const IndustryTileSpec *inds);
uint16 GetIndustryTileCallback(CallbackID callback, uint32 param1, uint32 param2, IndustryGfx gfx_id, Industry *industry, TileIndex tile);
-bool PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index);
+CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind_tile, const IndustryTileSpec *its, IndustryType type, IndustryGfx gfx, uint itspec_index);
void AnimateNewIndustryTile(TileIndex tile);
bool StartStopIndustryTileAnimation(TileIndex tile, IndustryAnimationTrigger iat, uint32 random = Random());