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_station.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_station.cpp')
-rw-r--r-- | src/newgrf_station.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 4bfb125d6..9cdded620 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -680,7 +680,7 @@ CommandCost PerformStationTileSlopeCheck(TileIndex north_tile, TileIndex cur_til /* The meaning of bit 10 is inverted for a grf version < 8. */ if (statspec->grf_prop.grffile->grf_version < 8) ToggleBit(cb_res, 10); - return GetErrorMessageFromLocationCallbackResult(cb_res, statspec->grf_prop.grffile->grfid, STR_ERROR_LAND_SLOPED_IN_WRONG_DIRECTION); + return GetErrorMessageFromLocationCallbackResult(cb_res, statspec->grf_prop.grffile, STR_ERROR_LAND_SLOPED_IN_WRONG_DIRECTION); } |