summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-02-07 19:11:51 +0000
committerpeter1138 <peter1138@openttd.org>2006-02-07 19:11:51 +0000
commit9dba135f7912c6f88ff51f7f3fe6ef35db17d443 (patch)
tree0f9f23a0e1113a7b2244b7e0d006d773c2a18afa /vehicle.c
parent59333131a51aded792d4123b0311a877e5772ff2 (diff)
downloadopenttd-9dba135f7912c6f88ff51f7f3fe6ef35db17d443.tar.xz
(svn r3573) - Replace assert(0) with NOT_REACHED(). This commit sponsored by "giving Darkvater credit for the last three".
Diffstat (limited to 'vehicle.c')
-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) {