mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Chaos Mode unlocking should be fixed
This commit is contained in:
		| @@ -1505,8 +1505,6 @@ EX bool havePushConflict(cell *pushto, bool checkonly) { | |||||||
|   return false; |   return false; | ||||||
|   } |   } | ||||||
|  |  | ||||||
| bool got_crossroads; |  | ||||||
|  |  | ||||||
| EX void movecost(cell* from, cell *to, int phase) { | EX void movecost(cell* from, cell *to, int phase) { | ||||||
|   if(from->land == laPower && to->land != laPower && (phase & 1)) { |   if(from->land == laPower && to->land != laPower && (phase & 1)) { | ||||||
|     int n=0; |     int n=0; | ||||||
| @@ -1523,10 +1521,9 @@ EX void movecost(cell* from, cell *to, int phase) { | |||||||
|     } |     } | ||||||
| #endif | #endif | ||||||
|    |    | ||||||
|   if(to->land ==laCrossroads4 && !got_crossroads && !geometry && (phase & 2) && !cheater) { |   if(to->land ==laDesert && !geometry && (phase & 2) && !cheater) { | ||||||
|     achievement_gain_once("CR4"); |     achievement_gain_once("CR4"); | ||||||
|     got_crossroads = true; |     changes.value_set(chaosUnlocked, true); | ||||||
|     chaosUnlocked = true; |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   if(isHaunted(from->land) && !isHaunted(to->land) && (phase & 2)) { |   if(isHaunted(from->land) && !isHaunted(to->land) && (phase & 2)) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue