Clean up unobvious coordinate system use in doland()

Use the obviously correct newown instead of sect->sct_own.  They're
actually equal here.
This commit is contained in:
Markus Armbruster 2010-06-20 17:58:30 +02:00
parent f0da4769dc
commit 5eb337e232

View file

@ -470,7 +470,7 @@ doland(char op, int arg, char *p, struct sctstr *sect)
if (newown) {
wu(player->cnum, newown,
"Sector %s gained from deity intervention\n",
xyas(sect->sct_x, sect->sct_y, sect->sct_own));
xyas(sect->sct_x, sect->sct_y, newown));
}
benefit(newown, 1);
break;