Originally the officer in command of a regiment would ride on a horse. Of course this would make him a prime target. By the end of the Napoleonic wars the life expectancy of a officer doing that was less then 15 minutes. It looks nice in the game.