You have it all wrong, the soldier was intending to fire forward however with the combined forward motion of him running, the wind, the position of the moon relative to the third building on the left, and what the soldier had for breakfast that day the round was actually forced to turn around and head on a different trajectory. I'm sure someone will be along with the exact mathematical forumla.