From b218799e15e59643bc16301e53b9cbadf5528555 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 15 Feb 2004 20:28:52 +0000 Subject: [PATCH] (payo): Previous revision screwed up ally bonus. --- src/lib/commands/payo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/commands/payo.c b/src/lib/commands/payo.c index 357154d0..8135157c 100644 --- a/src/lib/commands/payo.c +++ b/src/lib/commands/payo.c @@ -102,6 +102,8 @@ payo(void) prxy("%4d,%-4d ", ship.shp_orig_x, ship.shp_orig_y, player->cnum); prxy("%4d,%-4d ", ship.shp_x, ship.shp_y, player->cnum); + getsect(ship.shp_x, ship.shp_y, §); + dist = mapdist(ship.shp_x, ship.shp_y, ship.shp_orig_x, ship.shp_orig_y); pr("%4d ", dist);