mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	ru:: fixed a crash when loading an illegal room from edit-poincare
This commit is contained in:
		| @@ -208,7 +208,7 @@ void render_the_map() { | |||||||
|         } |         } | ||||||
|       if(cmode == mode::editmap) { |       if(cmode == mode::editmap) { | ||||||
|         getcstat = '-'; |         getcstat = '-'; | ||||||
|         dialog::add_key_action('-', [] { if(!mouseover) return; current_room = &rooms[mouseover]; switch_mapmode_to(mapmode::standard); }); |         dialog::add_key_action('-', [] { if(!mouseover || !rooms.count(mouseover)) return; current_room = &rooms[mouseover]; switch_mapmode_to(mapmode::standard); }); | ||||||
|         } |         } | ||||||
|       break; |       break; | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue