From 53dc49c85c0300b7c8a7f38ecf23186669e13df5 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 16 May 2010 18:43:28 +0200 Subject: [PATCH] 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. --- src/lib/subs/lndsub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/subs/lndsub.c b/src/lib/subs/lndsub.c index 4b0cec14..f8c34ac6 100644 --- a/src/lib/subs/lndsub.c +++ b/src/lib/subs/lndsub.c @@ -471,7 +471,7 @@ lnd_mar(struct emp_qelem *list, double *minmobp, double *maxmobp, getland(llp->unit.land.lnd_uid, &land); if (land.lnd_own != actor) { 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); free(llp); continue;