You have to tell yourself that you want the best for your baby, you need to stay away from smoking or you rahter not having baby. It will be too late, if your baby has anything wrong due to your smoking habit, you will sorry and cannot do anything to help after.
Only 10 months and it also helps yourself to be more healthy. When you want to smoke, maybe you can chew some chewing gum. Or get advise from the doctor.