I smoke salmon, is that bad
Smoking can be a way of cooking food, that is true, and I've yet to hear any consequences of ingesting smoked food. I'd say you're fine there.
This is related to breathing in smoke of burning tobacco and nicotine going into your lungs, where your blood carries the oxygen and carbon dioxide allowing you to breathe. Inhaling that smoke will constrict your blood vessels, inhibiting your blood flow through the body, including the penis when you get aroused, not getting it up as big and hard as you remember it.
I could be cutting a few details here and there and may not be entirely correct in some parts, but the conclusion that smoking will affect your erection still stands.