From 5eb337e232c0b81016637e0680b2c3c109410c4f Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 20 Jun 2010 17:58:30 +0200 Subject: [PATCH] Clean up unobvious coordinate system use in doland() Use the obviously correct newown instead of sect->sct_own. They're actually equal here. --- src/lib/commands/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.43.0