edit: Fix edit l key 'L' not to mess up coastal flag

Screwed up since Chainsaw added the means to copy a sector.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2014-01-18 12:14:02 +01:00
parent 321f6161c9
commit 3c7d9da3ab
2 changed files with 2 additions and 1 deletions

View file

@ -561,6 +561,7 @@ edit_sect(struct sctstr *sect, char *key, char *p)
sect->sct_own);
sect->sct_x = newx;
sect->sct_y = newy;
sect->sct_coastal = newsect.sct_coastal;
ef_set_uid(EF_SECTOR, sect, XYOFFSET(newx, newy));
break;
case 'D':