The doubling up of walls and ceilings was a special way of stoppng the walls from collapsing if the fort suffered a direct hit from a missile ( rocket ) fired from an enemy ship . The doubling up of walls and ceilings was a preventative measure meant to stop the walls from collapsing in the event of a direct hit .