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:
parent
f0da4769dc
commit
5eb337e232
1 changed files with 1 additions and 1 deletions
|
@ -470,7 +470,7 @@ doland(char op, int arg, char *p, struct sctstr *sect)
|
||||||
if (newown) {
|
if (newown) {
|
||||||
wu(player->cnum, newown,
|
wu(player->cnum, newown,
|
||||||
"Sector %s gained from deity intervention\n",
|
"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);
|
benefit(newown, 1);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue