Mercurial > hg > openttd
changeset 7797:08be67d9f0f5 draft
(svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come)
author | belugas <belugas@openttd.org> |
---|---|
date | Fri, 26 Oct 2007 20:55:23 +0000 |
parents | d5353481c26e |
children | d34b71a3319b |
files | src/water_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -464,7 +464,7 @@ 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);