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.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:hlcoders-admin@;list.valvesoftware.com] On Behalf Of Cortex
> Sent: Thursday, October 17, 2002 10:24 AM
> To: [EMAIL PROTECTED]
> Subject: [hlcoders] little bug in the SDK 2.3 ?
>
>
> Hi,
>
> I'm porting my mod to SDK 2.3. While browsing the files, I found :
>
>  return !!gEngfuncs.GetPlayerUniqueID( iPlayer, playerID );
>
> int the bool HACK_GetPlayerUniqueID (int iPlayer, char PlayerID[16]);
> function, in cl_dll/vgui_ScorePanel.cpp.
>
> It's weird... I think it must be a "taping" error, but I'd like to
> have a confirmation from you, guys ;)
>
>      - Cortex : HL Albator coder and mapper ( www.hlalbator.fr.st )
>      - email : [EMAIL PROTECTED]  &  ICQ : 71548738
>
>
>
> _______________________________________________
> 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



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to