summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-01-31 18:34:11 +0000
committerfrosch <frosch@openttd.org>2013-01-31 18:34:11 +0000
commit6f80f4ac2992b924d91a8d54b6df2a95561f07db (patch)
tree0449aa6a4b3800daf954d1b553403e3d33b300b1
parent68420aa92eea84339722e9a234a31b644fb96339 (diff)
downloadopenttd-6f80f4ac2992b924d91a8d54b6df2a95561f07db.tar.xz
(svn r24951) -Fix: [NewGRF] Var 10 of CB 24 missed the T part.
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 180a25d76..8b08cc2a9 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -1275,7 +1275,7 @@ CommandCost CmdBuildRailStation(TileIndex tile_org, DoCommandFlag flags, uint32
if (statspec != NULL) {
/* Use a fixed axis for GetPlatformInfo as our platforms / numtracks are always the right way around */
- uint32 platinfo = GetPlatformInfo(AXIS_X, 0, plat_len, numtracks_orig, plat_len - w, numtracks_orig - numtracks, false);
+ uint32 platinfo = GetPlatformInfo(AXIS_X, GetStationGfx(tile), plat_len, numtracks_orig, plat_len - w, numtracks_orig - numtracks, false);
/* As the station is not yet completely finished, the station does not yet exist. */
uint16 callback = GetStationCallback(CBID_STATION_TILE_LAYOUT, platinfo, 0, statspec, NULL, tile);