1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-06-09 01:44:08 +00:00

fixed a (broken) help screen displayed when mousing over another land in the Guided Tour

This commit is contained in:
Zeno Rogue 2020-03-25 13:46:34 +01:00
parent a967de75e0
commit dbfce6cf31

View File

@ -1512,8 +1512,9 @@ EX void movecost(cell* from, cell *to, int phase) {
} }
#if CAP_TOUR #if CAP_TOUR
if(from->land != to->land && tour::on && (phase & 2)) if(from->land != to->land && tour::on && (phase & 2)) {
tour::checkGoodLand(to->land); changes.at_commit([to] { tour::checkGoodLand(to->land); });
}
#endif #endif
if(to->land ==laCrossroads4 && !got_crossroads && !geometry && (phase & 2) && !cheater) { if(to->land ==laCrossroads4 && !got_crossroads && !geometry && (phase & 2) && !cheater) {