fixed the error:can't compiled on other computer
recorrect the trouble that hero moved outside the map when can't find the way