Raised This Month: $ Target: $400
 0% 

Weapons Drop Ability


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kiske
Veteran Member
Join Date: May 2009
Old 03-15-2010 , 17:01   Re: Weapons Drop Ability
Reply With Quote #7

Quote:
Originally Posted by ConnorMcLeod View Post
a & b returns 0 if no bit is common to both value, or the common bits if there are some.
!!0 is equal to 0
!!ANYVALUEOTHERTHANZERO is equal to 1

Could have cast to bool instead.
Thanks!
__________________

Kiske is offline
Send a message via Skype™ to Kiske
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:48.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode