(svn r20717) -Fix [FS#4103]: water class was not set for stations

This commit is contained in:
yexo
2010-09-01 23:41:56 +00:00
parent d82f1b0bab
commit a10ce551c9
2 changed files with 10 additions and 0 deletions

View File

@@ -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;