Fix sabotage command to use correct coordinate system

It reported the spy's location in the spy's coordinate system
instead of the player's.  Fortunately, they're the same in normal
usage.  They can differ only when a deity uses a foreign spy.
This commit is contained in:
Markus Armbruster 2010-05-16 11:12:29 +02:00
parent a4cd4aa7f7
commit 79dccdf5a8

View file

@ -88,7 +88,7 @@ sabo(void)
continue; continue;
pr("Explosion in %s causes %d damage.\n", pr("Explosion in %s causes %d damage.\n",
xyas(land.lnd_x, land.lnd_y, land.lnd_own), dam); xyas(land.lnd_x, land.lnd_y, player->cnum), dam);
if (sect.sct_own) { if (sect.sct_own) {
wu(0, sect.sct_own, wu(0, sect.sct_own,
"Sabotage in sector %s caused %d damage.\n", "Sabotage in sector %s caused %d damage.\n",