mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	fixed a bug when starting from CR2
This commit is contained in:
		| @@ -748,9 +748,11 @@ void buildCrossroads2(cell *c) { | |||||||
|   int h = c->landparam; |   int h = c->landparam; | ||||||
|    |    | ||||||
|   if(h/4 >= 8 && h/4 <= 11) { |   if(h/4 >= 8 && h/4 <= 11) { | ||||||
|     for(int i=0; i<c->type; i++) {  |     for(int i=0; i<c->type; i++) if(c->land != laBarrier) {  | ||||||
|       createMov(c, i)->land = laCrossroads2; |       cell *c2 = createMov(c, i); | ||||||
|       if(!c->mov[i]->landparam) buildCrossroads2(c->mov[i]); |       if(c2->land == laBarrier) continue; | ||||||
|  |       c2->land = laCrossroads2; | ||||||
|  |       if(!c2->landparam) buildCrossroads2(c2); | ||||||
|       } |       } | ||||||
|     if(h/4 == 8 || h/4 == 10) |     if(h/4 == 8 || h/4 == 10) | ||||||
|     for(int i=0; i<c->type; i++) {  |     for(int i=0; i<c->type; i++) {  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue