src/ship_cmd.cpp
changeset 6173 c6cf6600a82c
parent 6109 2361013ddd68
child 6195 b90cf92697b9
--- a/src/ship_cmd.cpp	Sat Feb 03 08:30:22 2007 +0000
+++ b/src/ship_cmd.cpp	Sat Feb 03 09:05:43 2007 +0000
@@ -835,7 +835,7 @@
 	v = AllocateVehicle();
 	unit_num = HASBIT(p2, 0) ? 0 : GetFreeUnitNumber(VEH_Ship);
 
-	if (v == NULL || IsOrderPoolFull() || unit_num > _patches.max_ships)
+	if (v == NULL || unit_num > _patches.max_ships)
 		return_cmd_error(STR_00E1_TOO_MANY_VEHICLES_IN_GAME);
 
 	if (flags & DC_EXEC) {