diff options
author | peter1138 <peter1138@openttd.org> | 2006-02-07 19:11:51 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-02-07 19:11:51 +0000 |
commit | 9dba135f7912c6f88ff51f7f3fe6ef35db17d443 (patch) | |
tree | 0f9f23a0e1113a7b2244b7e0d006d773c2a18afa | |
parent | 59333131a51aded792d4123b0311a877e5772ff2 (diff) | |
download | openttd-9dba135f7912c6f88ff51f7f3fe6ef35db17d443.tar.xz |
(svn r3573) - Replace assert(0) with NOT_REACHED(). This commit sponsored by "giving Darkvater credit for the last three".
-rw-r--r-- | vehicle.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |