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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user