Chaos Mode unlocking should be fixed

This commit is contained in:
Zeno Rogue 2020-08-20 16:03:37 +02:00
parent 0e38bc2352
commit 58aba3eb37
1 changed files with 2 additions and 5 deletions

View File

@ -1505,8 +1505,6 @@ EX bool havePushConflict(cell *pushto, bool checkonly) {
return false;
}
bool got_crossroads;
EX void movecost(cell* from, cell *to, int phase) {
if(from->land == laPower && to->land != laPower && (phase & 1)) {
int n=0;
@ -1523,10 +1521,9 @@ EX void movecost(cell* from, cell *to, int phase) {
}
#endif
if(to->land ==laCrossroads4 && !got_crossroads && !geometry && (phase & 2) && !cheater) {
if(to->land ==laDesert && !geometry && (phase & 2) && !cheater) {
achievement_gain_once("CR4");
got_crossroads = true;
chaosUnlocked = true;
changes.value_set(chaosUnlocked, true);
}
if(isHaunted(from->land) && !isHaunted(to->land) && (phase & 2)) {