mirror of https://github.com/OpenTTD/OpenTTD
(svn r11347) -Codechange: use marker loaded grf feature has_newwater when it is required. (more to come)
parent
b5973f12e6
commit
bdb5b8ed87
|
@ -464,7 +464,7 @@ static void DrawTile_Water(TileInfo *ti)
|
||||||
|
|
||||||
case WATER_TILE_COAST:
|
case WATER_TILE_COAST:
|
||||||
assert(!IsSteepSlope(ti->tileh));
|
assert(!IsSteepSlope(ti->tileh));
|
||||||
if (_coast_base != 0) {
|
if (_loaded_newgrf_features.has_newwater) {
|
||||||
DrawGroundSprite(_coast_base + ti->tileh, PAL_NONE);
|
DrawGroundSprite(_coast_base + ti->tileh, PAL_NONE);
|
||||||
} else {
|
} else {
|
||||||
DrawGroundSprite(_water_shore_sprites[ti->tileh], PAL_NONE);
|
DrawGroundSprite(_water_shore_sprites[ti->tileh], PAL_NONE);
|
||||||
|
|
Loading…
Reference in New Issue