Permalink
Browse files

windows fixes

  • Loading branch information...
gafferongames committed Aug 16, 2017
1 parent 499a006 commit b7e2862679644b0e54a3cef2d305f3f3b4b129a2
Showing with 2 additions and 1 deletion.
  1. +1 −0 loopback.cpp
  2. +1 −1 yojimbo.cpp
View
@@ -66,6 +66,7 @@ class LoopbackAdapter : public Adapter
void ServerSendLoopbackPacket( int clientIndex, const uint8_t * packetData, int packetBytes, uint64_t packetSequence )
{
(void) clientIndex;
yojimbo_assert( client );
yojimbo_assert( clientIndex == 0 );
client->ProcessLoopbackPacket( packetData, packetBytes, packetSequence );
View
@@ -3914,7 +3914,7 @@ namespace yojimbo
bool Server::IsLoopbackClient( int clientIndex ) const
{
return netcode_server_client_loopback( m_server, clientIndex );
return netcode_server_client_loopback( m_server, clientIndex ) != 0;
}
void Server::ProcessLoopbackPacket( int clientIndex, const uint8_t * packetData, int packetBytes, uint64_t packetSequence )

0 comments on commit b7e2862

Please sign in to comment.