Original Post
If I want to compare an integer to multiple different ones is it possible to do this without having a long if statement with multiple ors? I want to compare: newroom->GetType() to 4,6,7,8,9,13,14,15 and if it matches any of them do one thing, if it doesn't do another. Is it possible without
if (newroom->GetType() == 4 || newroom->GetType() == 6...)