fix direction detection
Merge branch 'master' into 1.5.2

Conflicts:
	src/org/yogpstop/qp/TilePump.java