08.07.2014, 00:19
Actually, this... 'logical comparator' (?) is more efficient.
'if(newstate & PLAYER_STATE_DRIVER)' does not mean 'if(newstate && newstate == PLAYER_STATE_DRIVER)'.
It's a more efficient way of doing:
'if(newstate == PLAYER_STATE_DRIVER)'.
'if(newstate & PLAYER_STATE_DRIVER)' does not mean 'if(newstate && newstate == PLAYER_STATE_DRIVER)'.
It's a more efficient way of doing:
'if(newstate == PLAYER_STATE_DRIVER)'.