anchor.diff:  						if(!(source.canSmoothWith[target] & thing.smoothing_groups[target])) { \
   							continue; \
   						}; \
  -						junction |= direction; \
  +						junction |= direction_flag; \
   						break; \
   					}; \
  -					if(junction & direction) { \
  +					if(junction & direction_flag) { \
   						break; \
   					}; \
   				}; \
  
positive.code: 	. = NONE //junction
  
  	for(var/direction in GLOB.cardinals) //Cardinal case first.
  		SET_ADJ_IN_DIR(src, ., direction)
  
  	if(!(smoothing_flags & SMOOTH_DIAGONAL) || !(. & (NORTH|SOUTH)) || !(. & (EAST|WEST)))
  		icon_state = "[base_icon_state]-[.]"
  
negative.code: 
  	if(. & N_NORTH)
  		if(. & N_WEST)
  			SET_ADJ_IN_DIR(src, ., NORTHWEST, N_NORTHWEST)
  
  		if(. & N_EAST)
  			SET_ADJ_IN_DIR(src, ., NORTHEAST, N_NORTHEAST)
  
  	if(. & N_SOUTH)
  		if(. & N_WEST)
  			SET_ADJ_IN_DIR(src, ., SOUTHWEST, N_SOUTHWEST)
  
  		if(. & N_EAST)
  			SET_ADJ_IN_DIR(src, ., SOUTHEAST, N_SOUTHEAST)
  
  	icon_state = "[base_icon_state]-[.]"
  
  