Found value of maxscandist. Screen erases before draw(for debugging). displays position, direction and hitbox
Added more test's in map
Fixing possible problem with hit detection in clipmove/findmaxcr