mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 20:29:17 +00:00
Chaos Mode unlocking should be fixed
This commit is contained in:
parent
0e38bc2352
commit
58aba3eb37
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user