fix min and max in VS2013
Merge branch 'HEAD' of https://github.com/FacialTurd/The-Powder-Toy.git