Raised This Month: $ Target: $400
 0% 

#defined stuff needs to be splitted?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 07-16-2011 , 06:02   #defined stuff needs to be splitted?
Reply With Quote #1

This doesn't compile for me:

PHP Code:
            if( !( iFlags FL_ONGROUND )
            
#if defined DUCK
            
&& ( iFlags FL_DUCKING ) )
            
#else
            
&& get_user_buttoniToucher ) & IN_USE )
            
#endif 
But the exactly same code, like this, does:

PHP Code:
            #if defined DUCK
            
if( !( iFlags FL_ONGROUND )
            && ( 
iFlags FL_DUCKING ) )
            
#else
            
if( !( iFlags FL_ONGROUND )
            && 
get_user_buttoniToucher ) & IN_USE )
            
#endif 
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
 


Thread Tools
Display Modes

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 01:08.


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