Thread
:
[SOLVED] Bitwise: more compact code
View Single Post
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
10-18-2012 , 16:51 Re: Bitwise: more compact code
#
2
if you're sure that VIP_A is always unset and VIP_Z is always set in that function then you could use this i suppose:
giVipFlags[id] ^= (VIP_A|VIP_Z)
jimaway
View Public Profile
Send a private message to jimaway
Find More Posts by jimaway