the dirt piled up swiftly against the other walls of the room , until at last one of the pirates shouted loudly with excitement , only to receive a quick bash on the head from james silver for his trouble .