mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-11-03 23:33:01 +00:00 
			
		
		
		
	expansion:: dfWorld returns celldistAlt in canvas
This commit is contained in:
		@@ -376,7 +376,7 @@ EX int curr_dist(cell *c) {
 | 
			
		||||
    case dfWorld:
 | 
			
		||||
      if(!mod_allowed() && !among(c->land, laOcean, laIvoryTower, laEndorian, laDungeon, laTemple, laWhirlpool, laCanvas))
 | 
			
		||||
        return 0;
 | 
			
		||||
      if(isCyclic(c->land) && (eubinary || c->master->alt)) return celldistAlt(c);
 | 
			
		||||
      if((isCyclic(c->land) || c->land == laCanvas) && (eubinary || c->master->alt)) return celldistAlt(c);
 | 
			
		||||
      return inmirror(c) ? (c->landparam & 255) : c->landparam;
 | 
			
		||||
    }
 | 
			
		||||
  return 0;    
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user