if a guy has a girlfriend but flirts with you?
He has a girlfriend but flirts with you would suggest that he is enjoying your adoration and is revelling in it. He may also be laughing with his girlfriend over you being smitten with him - or he may be contemplating cheating with you on her.