summaryrefslogtreecommitdiff
path: root/src/newgrf_station.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-12 20:13:17 +0000
committerfrosch <frosch@openttd.org>2012-11-12 20:13:17 +0000
commitf3be01c26f68f88beebab4222f67ee6eae73bc1b (patch)
treedcc236acbd65932769d5f8e4ab0fe7d0fada3cfd /src/newgrf_station.cpp
parent0a4fe02a47a56fd9f6a906e08f08626c9ac7afd8 (diff)
downloadopenttd-f3be01c26f68f88beebab4222f67ee6eae73bc1b.tar.xz
(svn r24714) -Fix [FS#5337]: [NewGRF] Draw default foundations if resolving of custom station foundation sprites fails.
Diffstat (limited to 'src/newgrf_station.cpp')
-rw-r--r--src/newgrf_station.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp
index 301ab493c..52631ad87 100644
--- a/src/newgrf_station.cpp
+++ b/src/newgrf_station.cpp
@@ -630,7 +630,7 @@ SpriteID GetCustomStationRelocation(const StationSpec *statspec, BaseStation *st
* @param tile Station tile being drawn
* @param layout Spritelayout as returned by previous callback
* @param edge_info Information about northern tile edges; whether they need foundations or merge into adjacent tile's foundations.
- * @return First sprite of a set of foundation sprites for various slopes.
+ * @return First sprite of a set of foundation sprites for various slopes, or 0 if default foundations shall be drawn.
*/
SpriteID GetCustomStationFoundationRelocation(const StationSpec *statspec, BaseStation *st, TileIndex tile, uint layout, uint edge_info)
{