From e16ef0111160915bf56a18823876b07d0d42c946 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 1 Jun 2008 21:16:16 +0200 Subject: [PATCH] Remove disabled MOB_ACCESS hack to immobilize newly built ships The hack made navigate require 21% efficiency or etu_per_update mobility. It was disabled since 4.2.7, when newly built ships got negative mobility. --- src/lib/subs/shpsub.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/lib/subs/shpsub.c b/src/lib/subs/shpsub.c index 155ceba9..0240bec7 100644 --- a/src/lib/subs/shpsub.c +++ b/src/lib/subs/shpsub.c @@ -75,18 +75,6 @@ shp_sel(struct nstr_item *ni, struct emp_qelem *list) continue; } } - /* This abuse is better fixed by building a ship with the normal negative - mobility that everything else is built with */ -/* - if (opt_MOB_ACCESS) { - if (ship.shp_effic < 21 && - ship.shp_mobil < etu_per_update) { - pr("%s needs at least %d mob to navigate.\n", - prship(&ship), etu_per_update); - continue; - } - } -*/ ship.shp_mission = 0; ship.shp_rflags = 0; memset(ship.shp_rpath, 0, sizeof(ship.shp_rpath));