mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 05:23:00 +00:00 
			
		
		
		
	intra:: become() now adds more spaces if called inside intra
This commit is contained in:
		| @@ -364,6 +364,13 @@ EX void connect_portal(cellwalker cw1, cellwalker cw2, int spin) { | |||||||
|  |  | ||||||
| /** make currentmap into one of the spaces in intra */ | /** make currentmap into one of the spaces in intra */ | ||||||
| EX void become() { | EX void become() { | ||||||
|  |   if(intra::in) { | ||||||
|  |     /* let them add more spaces in this case */ | ||||||
|  |     data[current].gd.storegame(); | ||||||
|  |     intra::in = false; | ||||||
|  |     return; | ||||||
|  |     } | ||||||
|  |  | ||||||
|   check_cgi(); |   check_cgi(); | ||||||
|   cgi.require_shapes(); |   cgi.require_shapes(); | ||||||
|   auto& ac = currentmap->allcells(); |   auto& ac = currentmap->allcells(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue