private void findRiverOrigins() {
		if (details) System.out.println("Finding river origins...");
		Random rnd = new Random();
		int c = 0;
		int rx = 0;
		int ry = 0;
		do {
			rx = rnd.nextInt(MyzoGEN.DIMENSION_X * chunksX);
			ry = rnd.nextInt(MyzoGEN.DIMENSION_Y * chunksY);
			Point p = new Point(rx, ry);
			Tile t = MyzoGEN.getOutput().getTile(p);
			if (t != null && t.floor >= minfloor) {
				boolean okay = true;
				for (Point r : rivers.values()) {
					if (Utils.getManhattanDistance(p, r) < mindistance) {
						okay = false;
						break;
					}
				}
				
				if (okay) {
					rivers.put(c, p);
					t.tile = Tiles.WATER;
					t.river = true;
					t.riverID = c;
					c++;
				}
			}
		} while (c < maxrivers);
		
		if (details) System.out.println("Origins found: "+c+", max was: "+maxrivers);
	}