summaryrefslogtreecommitdiff
path: root/station_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'station_cmd.c')
-rw-r--r--station_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/station_cmd.c b/station_cmd.c
index aeea6b9e6..cde11f1e9 100644
--- a/station_cmd.c
+++ b/station_cmd.c
@@ -2643,8 +2643,7 @@ void BuildOilRig(uint tile)
if (!GenerateStationName(st, tile, 2))
return;
- _map_type_and_height[tile] &= 0xF;
- _map_type_and_height[tile] |= MP_STATION << 4;
+ SetTileType(tile, MP_STATION);
_map5[tile] = 0x4B;
_map_owner[tile] = OWNER_NONE;
_map3_lo[tile] = 0;