Fix a totally screwed up get_general_direction()