Thread: Anti W+M1
View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-16-2013 , 02:01   Re: Anti W+M1
Reply With Quote #10

Quote:
Originally Posted by Seta00 View Post
In what language does if (var & FLAG == FLAG) differ from if (var & FLAG), provided you don't have flags that are set to zero?
C#. Java. C and C++ may, I haven't checked them.

Basically, if (var & FLAG) won't even compile in C# and Java, because var & FLAG doesn't evaluate to a boolean.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline