>>718395846
This held up pretty much until the American Civil War and the Crimean War where almost every soldier carried a rifle instead of a musket.
The minie ball in particular made the technology in the ACW far outstrip the sophistication of the tactics which were still very Napoleonic.
But you basically went from an effective range of 200 yards to 1,000 yards. It became hard to continue to fight in line at such range but the boys during the ACW still did their best (though they did use entrenchment a lot more than the European wars earlier in the century, the trenchworks at Petersburg are more or less en par with WW1).
I find this to be one of the reasons the American Civil War is so interesting and the casualties are so high. Waterloo in Europe was branded as an apocalyptic battle but in the ACW, there were something like 10 Waterloos in a row in terms of casualties.