[ENet-discuss] event.peer == null
Jay Sprenkle
jsprenkle at gmail.com
Wed Oct 20 18:35:37 PDT 2010
DOH! I can't believe I did that.
Thanks Lee.
On Wed, Oct 20, 2010 at 8:52 PM, Lee Salzman <lsalzman1 at cox.net> wrote:
> if ( enet_host_service( client, &event, 1000 ) > 0 );
> if ( event.type == ENET_EVENT_TYPE_RECEIVE );
>
> Or maybe you have strange semi-colons at the end of your if conditions that
> shouldn't be there, thus causing the block beneath to always executed
> regardless. :)
>
> Lee
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubik.org/pipermail/enet-discuss/attachments/20101020/25d05365/attachment.html>
More information about the ENet-discuss
mailing list