(svn r3573) - Replace assert(0) with NOT_REACHED(). This commit sponsored by "giving Darkvater credit for the last three".

This commit is contained in:
peter1138
2006-02-07 19:11:51 +00:00
parent cfdce5213e
commit f874b60636

View File

@@ -2014,7 +2014,7 @@ UnitID GetFreeUnitNumber(byte type)
case VEH_Road: max = _patches.max_roadveh; break; case VEH_Road: max = _patches.max_roadveh; break;
case VEH_Ship: max = _patches.max_ships; break; case VEH_Ship: max = _patches.max_ships; break;
case VEH_Aircraft: max = _patches.max_aircraft; break; case VEH_Aircraft: max = _patches.max_aircraft; break;
default: assert(0); default: NOT_REACHED();
} }
if (max > gmax) { if (max > gmax) {