1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 06:59:10 +00:00

(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

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