mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	land selection now automatically changes land_structure for Crossroads and Canvas/Asteroids
This commit is contained in:
		| @@ -205,6 +205,12 @@ EX void ge_land_selection() { | ||||
|       if(landvisited[l]) dialog::do_if_confirmed(dual::mayboth([l] { | ||||
|         stop_game_and_switch_mode(tactic::on ? rg::tactic : rg::nothing); | ||||
|         firstland = specialland = l; | ||||
|         if(l == laCanvas || l == laAsteroids) | ||||
|           land_structure = lsSingle; | ||||
|         else if(among(l, laCrossroads, laCrossroads2)) | ||||
|           land_structure = lsNiceWalls; | ||||
|         else if(among(l, laCrossroads4)) | ||||
|           land_structure = lsNoWalls; | ||||
|         start_game(); | ||||
|         popScreen(); | ||||
|         })); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue