Depends on what your history is with the person and how well you knew each other, I think.
If it's someone you had nothing to do with anyways, just walk on by, but seeing someone you considered to be a friend can be hard not to at least say something, especially if it's obvious they themselves are out.
This cult is ridiculous, normal people don't behave this way.