(svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come)

This commit is contained in:
belugas 2007-10-26 20:55:23 +00:00
parent b5973f12e6
commit bdb5b8ed87
1 changed files with 1 additions and 1 deletions

View File

@ -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);