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

Reply via email to