summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 44d07f52f..1d7feda07 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -2014,7 +2014,7 @@ UnitID GetFreeUnitNumber(byte type)
case VEH_Road: max = _patches.max_roadveh; break;
case VEH_Ship: max = _patches.max_ships; break;
case VEH_Aircraft: max = _patches.max_aircraft; break;
- default: assert(0);
+ default: NOT_REACHED();
}
if (max > gmax) {