there had been little hope , indeed , of keeping the french from gaining a foothold , not under the guns which had already been established on the heights : at least they had been made to pay for the ground which they had won , and the prussians had gained enough time to deploy their own regiments .