diff options
author | belugas <belugas@openttd.org> | 2007-10-26 20:55:23 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-10-26 20:55:23 +0000 |
commit | 17df5bdf723669223ee89c2bdbf498e9980f2494 (patch) | |
tree | d61508675088e732bc42c3175b028a84d6f0fdf4 /src | |
parent | b604d405848b4e3cc34ca1bdfd0fff7ad6e3c961 (diff) | |
download | openttd-17df5bdf723669223ee89c2bdbf498e9980f2494.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.cpp | 2 |
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); |