File diff r21023:33dd3ecfcb94 → r21024:19cdb93700c9
src/town_cmd.cpp
Show inline comments
 
@@ -1317,7 +1317,7 @@ static int GrowTownAtRoad(Town *t, TileI
 

	
 
		/* Exclude the source position from the bitmask
 
		 * and return if no more road blocks available */
 
		cur_rb &= ~DiagDirToRoadBits(ReverseDiagDir(target_dir));
 
		if (IsValidDiagDirection(target_dir)) cur_rb &= ~DiagDirToRoadBits(ReverseDiagDir(target_dir));
 
		if (cur_rb == ROAD_NONE) {
 
			return _grow_town_result;
 
		}