If the ID string is less than 3 letters that third location might be 
uninitialized memory.  Do not do that.

At 2006/07/01 01:54 PM, you wrote:
>--
>[ Picked text/plain from multipart/alternative ]
>And while we're at optimizing...let's just simplify it to this
>
>inline bool IsFakeClient(edict_t *player)
>{
>     return engine->GetPlayerNetworkIDString(player)[3];
>}
>
>But I really don't see why GetNetworkIDString wouldn't be working,
>CPlayerInfo seems to retrieve the return value from
>CBasePlayer::GetNetworkIDString, which seems fine to me.
>
>
>--
>ts2do
>--
>
>_______________________________________________
>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