mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	Caribbean spill in Voronoi should be fixed
This commit is contained in:
		
							
								
								
									
										16
									
								
								bigstuff.cpp
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								bigstuff.cpp
									
									
									
									
									
								
							| @@ -2251,14 +2251,6 @@ EX void moreBigStuff(cell *c) { | ||||
|    | ||||
|   if(quotient) return; | ||||
|  | ||||
|   extend_alt(c, laCaribbean, laCaribbean, false); | ||||
|   if(c->land == laCaribbean) { | ||||
|     if(have_alt(c) && celldistAlt(c) <= 0) | ||||
|       generateTreasureIsland(c); | ||||
|     else | ||||
|       c->wall = waSea; | ||||
|     } | ||||
|  | ||||
|   if(ls::voronoi_structure()) { | ||||
|     auto p = get_voronoi_winner(c); | ||||
|     auto ph = p.first; | ||||
| @@ -2297,6 +2289,14 @@ EX void moreBigStuff(cell *c) { | ||||
|       setland(c, laCrossroads); | ||||
|     } | ||||
|    | ||||
|   extend_alt(c, laCaribbean, laCaribbean, false); | ||||
|   if(c->land == laCaribbean) { | ||||
|     if(have_alt(c) && celldistAlt(c) <= 0) | ||||
|       generateTreasureIsland(c); | ||||
|     else | ||||
|       c->wall = waSea; | ||||
|     } | ||||
|  | ||||
|   if(!ls::hv_structure()) extend_alt(c, laPalace, laPalace, false, PRADIUS1); | ||||
|  | ||||
|   extend_alt(c, laCanvas, laCanvas); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue