From c65b4f254df621c222d776697df095b289592c9e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 21 Aug 2018 18:24:39 +0200 Subject: [PATCH] fixed the description of treasures which unlock secondary orbs -- other treasure name given correctly --- help.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/help.cpp b/help.cpp index fc72093d..3cbeefaf 100644 --- a/help.cpp +++ b/help.cpp @@ -196,6 +196,11 @@ void describeOrb(string& help, const orbinfo& oi) { eOrbLandRelation olr = getOLR(oi.orb, getPrizeLand()); eItem tr = treasureType(oi.l); eItem tt = treasureTypeUnlock(cwt.at->land, oi.orb); + if(olr == olrGuest) { + for(auto& oi1: orbinfos) + if((oi1.flags & orbgenflags::NATIVE) && oi1.orb == oi.orb) + tr = treasureType(oi1.l); + } help += "\n\n" + XLAT(olrDescriptions[olr], cwt.at->land, tr, tt); int t = items[tr] * landMultiplier(oi.l); if(t >= 25)