src/station_map.h
changeset 9718 4b7468076d31
parent 9342 6daf441eee26
child 9784 a9cc0dff1667
equal deleted inserted replaced
9717:b7806a165a75 9718:4b7468076d31
   311 	MakeStation(t, o, sid, STATION_DOCK, d);
   311 	MakeStation(t, o, sid, STATION_DOCK, d);
   312 	MakeStation(t + TileOffsByDiagDir(d), o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d));
   312 	MakeStation(t + TileOffsByDiagDir(d), o, sid, STATION_DOCK, GFX_DOCK_BASE_WATER_PART + DiagDirToAxis(d));
   313 	SetWaterClass(t + TileOffsByDiagDir(d), wc);
   313 	SetWaterClass(t + TileOffsByDiagDir(d), wc);
   314 }
   314 }
   315 
   315 
   316 static inline void MakeOilrig(TileIndex t, StationID sid)
   316 static inline void MakeOilrig(TileIndex t, StationID sid, WaterClass wc)
   317 {
   317 {
   318 	MakeStation(t, OWNER_NONE, sid, STATION_OILRIG, 0);
   318 	MakeStation(t, OWNER_NONE, sid, STATION_OILRIG, 0);
       
   319 	SetWaterClass(t, wc);
   319 }
   320 }
   320 
   321 
   321 #endif /* STATION_MAP_H */
   322 #endif /* STATION_MAP_H */