march: Give up fortification only on actual move or sweep

Don't wipe it in lnd_sel(), rely on lnd_mar_one_sector() and
lnd_sweep() to wipe it when the land unit actually moves.

Closes FRE#43.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2015-01-05 11:14:31 +01:00
parent 5c185a1507
commit 351bb852a3
3 changed files with 40 additions and 41 deletions

View file

@ -502,7 +502,6 @@ lnd_sel(struct nstr_item *ni, struct emp_qelem *list)
land.lnd_mission = 0;
land.lnd_rflags = 0;
land.lnd_harden = 0;
memset(land.lnd_rpath, 0, sizeof(land.lnd_rpath));
putland(land.lnd_uid, &land);
lnd_insque(&land, list);