Update Tiles.cpp

Update Tiles.cpp with patches by Pistooli.