load unload: Don't treat unowned sectors specially

load and unload silently skip unowned sectors, unlike lload and
lunload.  Probably goes back to Chainsaw option ALLYHARBOR.

Drop that.  Deities can now load and unload in unowned harbors and
canals.  Mortals are now notified they can't.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2018-05-01 18:54:14 +02:00
parent 3f2e59ab2f
commit 882fab925c
5 changed files with 85 additions and 31 deletions

View file

@ -113,8 +113,6 @@ load(void)
if (!getsect(ship.shp_x, ship.shp_y, &sect)) /* XXX */
continue;
if (!sect.sct_own)
continue;
if (!player->owner) {
if (ship.shp_own != player->cnum)
continue;