Maybe they like to use it because it requires less keystrokes? Lol, the
wanna be all "Look at us, we're bad, we can use '!!' instead of '== 0',
WOOOOOOOO!!!"

Actually I have no clue... =/

-Mazor

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:hlcoders-admin@;list.valvesoftware.com] On Behalf Of Mark Gornall
Sent: Thursday, October 17, 2002 11:43 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [hlcoders] little bug in the SDK 2.3 ?


valve use '!!' a few times in the sdk so it's probably deliberate.


-----Original Message-----
From: Cortex [mailto:cort@;meloo.com]
Sent: 17 October 2002 16:51
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] little bug in the SDK 2.3 ?


Oh yes, it could be a good explanation.
But, why wouldn't it be :
return (gEngfuncs.GetPlayerUniqueID( iPlayer, playerID ) != 0);

? It's much more concise... And it doesn't look as a mistake :p

     - Cortex : HL Albator coder and mapper ( www.hlalbator.fr.st )
     - email : [EMAIL PROTECTED]  &  ICQ : 71548738

David Flor <[EMAIL PROTECTED]> nous disait :

> Don't know if it's meant to be that way, but the "!!" convention
> ensures that the value is ALWAYS either a one or a zero.
>

__________________________________________________________
This mail has been scanned for all known viruses by UUNET delivered
through the MessageLabs Virus Control Centre.
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to