Clean up suspicious coordinate system use in lnd_mar()
When refusing to march foreign land units, it reported the land unit's location in the land unit's coordinate system instead of the player's. Fortunately, they're the same, since even deities can't march foreign land unit.
This commit is contained in:
parent
9ad8618ba3
commit
53dc49c85c
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ lnd_mar(struct emp_qelem *list, double *minmobp, double *maxmobp,
|
||||||
getland(llp->unit.land.lnd_uid, &land);
|
getland(llp->unit.land.lnd_uid, &land);
|
||||||
if (land.lnd_own != actor) {
|
if (land.lnd_own != actor) {
|
||||||
mpr(actor, "%s was disbanded at %s\n",
|
mpr(actor, "%s was disbanded at %s\n",
|
||||||
prland(&land), xyas(land.lnd_x, land.lnd_y, land.lnd_own));
|
prland(&land), xyas(land.lnd_x, land.lnd_y, actor));
|
||||||
emp_remque((struct emp_qelem *)llp);
|
emp_remque((struct emp_qelem *)llp);
|
||||||
free(llp);
|
free(llp);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue