@MEhj,
Well, you never had him to begin with.
Crushes change. They aren't permanent. So now he likes your friend. Eh, it happens.
Concentrate more on your friend's feelings than this guy's. Crushes will come and go; friendships tend to be more important than that.