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.
This commit is contained in:
parent
441c8a2b7b
commit
e16ef01111
1 changed files with 0 additions and 12 deletions
|
@ -75,18 +75,6 @@ shp_sel(struct nstr_item *ni, struct emp_qelem *list)
|
||||||
continue;
|
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_mission = 0;
|
||||||
ship.shp_rflags = 0;
|
ship.shp_rflags = 0;
|
||||||
memset(ship.shp_rpath, 0, sizeof(ship.shp_rpath));
|
memset(ship.shp_rpath, 0, sizeof(ship.shp_rpath));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue