View Single Post
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-06-2010 , 22:46   Re: [TUT] Bits, Bit-fields, and Bit-wise Operators
Reply With Quote #5

SetBit( g_BitField , 32 ) would set the 0 ( 1 << 0 ) bit.

32 & 31 = 0
__________________
Bugsy is offline