diff options
author | frosch <frosch@openttd.org> | 2014-01-12 18:00:19 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-01-12 18:00:19 +0000 |
commit | 73c6565cf269608092d119e353df522e97c5db7a (patch) | |
tree | 3c238ae76ed718acac990686636a6403f1f255b8 /src/newgrf_industrytiles.cpp | |
parent | 477c15383d00caaf62bc554d6ff8890adebce071 (diff) | |
download | openttd-73c6565cf269608092d119e353df522e97c5db7a.tar.xz |
(svn r26240) -Codechange: Pass the GRFFile to GetErrorMessageFromLocationCallbackResult instead of the GRFID.
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 965c55d49..7e31c1bc4 100644 --- a/src/newgrf_industrytiles.cpp +++ b/src/newgrf_industrytiles.cpp @@ -256,7 +256,7 @@ CommandCost PerformIndustryTileSlopeCheck(TileIndex ind_base_tile, TileIndex ind return_cmd_error(STR_ERROR_SITE_UNSUITABLE); } - return GetErrorMessageFromLocationCallbackResult(callback_res, its->grf_prop.grffile->grfid, STR_ERROR_SITE_UNSUITABLE); + return GetErrorMessageFromLocationCallbackResult(callback_res, its->grf_prop.grffile, STR_ERROR_SITE_UNSUITABLE); } /* Simple wrapper for GetHouseCallback to keep the animation unified. */ |