If I remember correctly infantry took damage inside buildings also in the original game, even from artillery shelling a building. In renegadeX also c4s damage trough walls. Personally I don't mind, you don't have to stand and repair in front of the MCT in barracks.