summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-10-26 20:55:23 +0000
committerbelugas <belugas@openttd.org>2007-10-26 20:55:23 +0000
commitbdb5b8ed8711c89e0f897d810bf81465198373e8 (patch)
treed61508675088e732bc42c3175b028a84d6f0fdf4 /src
parentb5973f12e6553e094f2d94ccc6efcde54cc684d8 (diff)
downloadopenttd-bdb5b8ed8711c89e0f897d810bf81465198373e8.tar.xz
(svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come)
Diffstat (limited to 'src')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index ff69c1a61..87eaa675f 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -464,7 +464,7 @@ static void DrawTile_Water(TileInfo *ti)
case WATER_TILE_COAST:
assert(!IsSteepSlope(ti->tileh));
- if (_coast_base != 0) {
+ if (_loaded_newgrf_features.has_newwater) {
DrawGroundSprite(_coast_base + ti->tileh, PAL_NONE);
} else {
DrawGroundSprite(_water_shore_sprites[ti->tileh], PAL_NONE);