From: Markus Armbruster Date: Sun, 16 May 2010 11:38:52 +0000 (+0200) Subject: Fix nuclear detontation to use correct coordinate system X-Git-Tag: v4.3.27~239 X-Git-Url: http://git.pond.sub.org/?p=empserver;a=commitdiff_plain;h=890886bfa2129c7a06ceaac9df07bb3665f43476 Fix nuclear detontation to use correct coordinate system When the nuke bounced off a sanctuary, the bulletin to the sanctuary owner used the attacker's coordinate system. This disclosed the attacker's origin. --- diff --git a/src/lib/subs/detonate.c b/src/lib/subs/detonate.c index de8df1820..b83841c1a 100644 --- a/src/lib/subs/detonate.c +++ b/src/lib/subs/detonate.c @@ -99,7 +99,7 @@ detonate(struct nukstr *np, coord x, coord y, int airburst) if (type == SCT_SANCT) { mpr(bombown, "bounced off %s\n", xyas(ns.x, ns.y, bombown)); mpr(own, "%s nuclear device bounced off %s\n", - cname(bombown), xyas(ns.x, ns.y, bombown)); + cname(bombown), xyas(ns.x, ns.y, own)); nreport(bombown, N_NUKE, own, 1); continue; }