You were very lucky!! :|
Any type of fumes given off from a hot engine bay,be it from vapourising 2 pack paint,
"cyanide gas!!", burning rubber,excess fuel and oil vapours can be nasty!
Let alone a combination of all of them!
Thats why I always leave my garage door and window open for ventilation!
Even then you can become dizzy after bending over into the bay and breathing in the fumes!
No amount of care can prevent something happening,be it a cut,burn,whack,crush etc!!
And we all have, and do,still take silly chances when playing with our toys!
We just have to be aware that our hobby does have its inherent dangers,even when we are not driving the cars!!and do whatever we can to try to be as safe as poss,to try to prevent things from going wrong!