From e25413a688e0ae313111ab616006f91fe07924dc Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 11 Jun 2010 08:34:29 +0200 Subject: [PATCH] Fix lookout to report sector owner properly to deities It reported all sectors as owned by the deity. --- src/lib/commands/look.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/look.c b/src/lib/commands/look.c index eb7720e65..95a217afd 100644 --- a/src/lib/commands/look.c +++ b/src/lib/commands/look.c @@ -103,7 +103,7 @@ do_look(int type) getsect(x, y, §); if (sect.sct_type == SCT_WATER) continue; - if (player->owner) + if (sect.sct_own == player->cnum) pr("Your "); else pr("%s (#%d) ", cname(sect.sct_own), sect.sct_own); -- 2.43.0