summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-08 14:04:02 +0000
committerrubidium <rubidium@openttd.org>2007-02-08 14:04:02 +0000
commit39454ab61a92b370832010e4dcec0e6df5bcf001 (patch)
tree1600d16e7aa97f9ac48f054bda1f0ea84f4c4137 /src/table
parentc9b2b814132bd26a7ae098849c487e280e37d099 (diff)
downloadopenttd-39454ab61a92b370832010e4dcec0e6df5bcf001.tar.xz
(svn r8635) -Fix: draw canal edges under buoys that are in a canal.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/station_land.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/table/station_land.h b/src/table/station_land.h
index eaa9cff92..e356ce71b 100644
--- a/src/table/station_land.h
+++ b/src/table/station_land.h
@@ -384,6 +384,12 @@ static const DrawTileSeqStruct _station_display_datas_81[] = {
TILE_SEQ_END()
};
+/* Buoy, which will _always_ drown under the ship */
+static const DrawTileSeqStruct _station_display_datas_82[] = {
+ { 4, -1, 0, 0, 0, 0, SPR_IMG_BOUY, PAL_NONE },
+ TILE_SEQ_END()
+};
+
// control tower with concrete underground and no fence
// concrete underground
static const DrawTileSeqStruct _station_display_datas_085[] = {
@@ -1036,7 +1042,7 @@ static const DrawTileSprites _station_display_datas[] = {
{ SPR_SHORE_TILEH_6, PAL_NONE, _station_display_datas_79 },
{ SPR_FLAT_WATER_TILE, PAL_NONE, _station_display_datas_80 },
{ SPR_FLAT_WATER_TILE, PAL_NONE, _station_display_datas_81 },
- { SPR_BUOY, PAL_NONE, _station_display_nothing },
+ { SPR_FLAT_WATER_TILE, PAL_NONE, _station_display_datas_82 },
{ SPR_AIRPORT_RUNWAY_END, PAL_NONE, _station_display_nothing },
{ SPR_AIRPORT_RUNWAY_EXIT_B, PAL_NONE, _station_display_nothing },
{ SPR_AIRPORT_APRON, PAL_NONE, _station_display_datas_085 },