Bob was playing cards with Adam and was way ahead. If Adam hadn't had a sudden run of good luck, *he* would have lost.

Are "he" and "Bob" the same thing in the aforementioned sentence?
no