author | belugas |
Fri, 26 Oct 2007 20:55:23 +0000 | |
changeset 8293 | 6e4679a9bedb |
parent 8292 | bc047dea8239 |
child 8294 | a7b17349a0b5 |
src/water_cmd.cpp | file | annotate | diff | comparison | revisions |
--- a/src/water_cmd.cpp Fri Oct 26 20:48:15 2007 +0000 +++ b/src/water_cmd.cpp Fri Oct 26 20:55:23 2007 +0000 @@ -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);