Combat movies were blood free and married couples slept in separate twin beds. A racy movie may feature a long kiss with the girl in a one piece bathing suit or dance costume.
Hayes Code was way more restrictive than most kind of "censorships" that people complain nowdays. Not to mention that standards for what obscenity is, were way lower than today and public reactions were as or even more histerical then today.