summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 33c53fff3..52247e8c0 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -690,13 +690,13 @@ static void GetTileDesc_Water(TileIndex tile, TileDesc *td)
case WATER_CLASS_SEA: td->str = STR_WATER_DESCRIPTION_WATER; break;
case WATER_CLASS_CANAL: td->str = STR_LANDINFO_CANAL; break;
case WATER_CLASS_RIVER: td->str = STR_LANDINFO_RIVER; break;
- default: assert(0); break;
+ default: NOT_REACHED(); break;
}
break;
case WATER_TILE_COAST: td->str = STR_WATER_DESCRIPTION_COAST_OR_RIVERBANK; break;
case WATER_TILE_LOCK : td->str = STR_LANDINFO_LOCK; break;
case WATER_TILE_DEPOT: td->str = STR_WATER_DESCRIPTION_SHIP_DEPOT; break;
- default: assert(0); break;
+ default: NOT_REACHED(); break;
}
td->owner[0] = GetTileOwner(tile);