summaryrefslogtreecommitdiff
path: root/src/station_map.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-09-01 23:41:56 +0000
committeryexo <yexo@openttd.org>2010-09-01 23:41:56 +0000
commit7b0fd807fb50df320debdd8ce5661cae625b04d9 (patch)
tree2201753a22d5fdbc45046110d692497471e6b274 /src/station_map.h
parentc07fdab16c4a89dda13efa72fdb5c081872de1ce (diff)
downloadopenttd-7b0fd807fb50df320debdd8ce5661cae625b04d9.tar.xz
(svn r20717) -Fix [FS#4103]: water class was not set for stations
Diffstat (limited to 'src/station_map.h')
-rw-r--r--src/station_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_map.h b/src/station_map.h
index c8204c40e..8d3bcb54d 100644
--- a/src/station_map.h
+++ b/src/station_map.h
@@ -533,6 +533,7 @@ static inline void MakeStation(TileIndex t, Owner o, StationID sid, StationType
{
SetTileType(t, MP_STATION);
SetTileOwner(t, o);
+ SetWaterClass(t, wc);
_m[t].m2 = sid;
_m[t].m3 = 0;
_m[t].m4 = 0;