From dbfce6cf31cff8f848fe651b8a39a9133f8becf1 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 25 Mar 2020 13:46:34 +0100 Subject: [PATCH] fixed a (broken) help screen displayed when mousing over another land in the Guided Tour --- pcmove.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pcmove.cpp b/pcmove.cpp index ea976267..494d6591 100644 --- a/pcmove.cpp +++ b/pcmove.cpp @@ -1512,8 +1512,9 @@ EX void movecost(cell* from, cell *to, int phase) { } #if CAP_TOUR - if(from->land != to->land && tour::on && (phase & 2)) - tour::checkGoodLand(to->land); + if(from->land != to->land && tour::on && (phase & 2)) { + changes.at_commit([to] { tour::checkGoodLand(to->land); }); + } #endif if(to->land ==laCrossroads4 && !got_crossroads && !geometry && (phase & 2) && !cheater) {