From 4fc3bf19eb8afb296e125278cbf6d3a0e8b81880 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 22 May 2021 23:02:35 +0200 Subject: [PATCH] shadow path described in mouseover --- help.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/help.cpp b/help.cpp index 5998ac88..805c99bd 100644 --- a/help.cpp +++ b/help.cpp @@ -883,6 +883,26 @@ EX void describeMouseover() { if(c->land == laTortoise && tortoise::seek()) out += " " + tortoise::measure(getBits(c)); + // describe the shadow path + if(among(c->land, laGraveyard, laCursed) && shpos.size()) { + string shadowtimes; + vector route; + for(int s=1; slandparam, c->mpdist); out += buf; }