(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 59333131a5
commit 9dba135f79
1 changed files with 1 additions and 1 deletions

View File

@ -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) {