From: Markus Armbruster Date: Sun, 20 Jun 2010 15:58:30 +0000 (+0200) Subject: Clean up unobvious coordinate system use in doland() X-Git-Tag: v4.3.27~181 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=5eb337e232c0b81016637e0680b2c3c109410c4f Clean up unobvious coordinate system use in doland() Use the obviously correct newown instead of sect->sct_own. They're actually equal here. --- diff --git a/src/lib/commands/edit.c b/src/lib/commands/edit.c index 4d7ebc6fc..6a749f8e6 100644 --- a/src/lib/commands/edit.c +++ b/src/lib/commands/edit.c @@ -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;