From 305d546ae1672baba5ca04878daaed7286e90d1d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 8 May 2024 20:49:16 +0200 Subject: [PATCH] fixed the Yendor beacon to appear in the correct place (usually on the boundary, not the closest visible tile) --- graph.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graph.cpp b/graph.cpp index d8b68c2d..07c194fd 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4799,13 +4799,13 @@ EX void drawMarkers() { using namespace yendor; if(yii < isize(yi) && !yi[yii].found) { cell *keycell = NULL; - int i; - for(i=0; icpdist <= get_sightrange_ambush()) { - keycell = yi[yii].path[i]; + keycell = yi[yii].path[i]; last_i = i; } if(keycell) { - for(; i