I have an if statement that is always evaluating true even if none of the conditions are true. It goes like this:
if(condition1 || condition2 || condidion3)
{
//do stuff
}
For whatever reason even if none of the 3 conditions are actually true, it just runs anyway. Is there something weird in or statements that cause this? I have even tried putting each condition in parentheses just to see if it helps.