fix: networking fixes + add server
This commit is contained in:
13 files changed
+129
-36
No files matched your search
@@ -195,7 +195,7 @@
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
<ExceptionsAndRtti>WithExceptsWithRtti</ExceptionsAndRtti>
|
||||
<PlatformToolset>v110</PlatformToolset>
|
||||
<PlatformToolset>SNC</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|PSVita'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
|
||||
@@ -333,8 +333,6 @@ shared_ptr<Packet> Packet::readPacket(DataInputStream *dis, bool isServer) // th
|
||||
id = dis->read();
|
||||
if (id == -1) return nullptr;
|
||||
|
||||
app.DebugPrintf("GOT PACKET ID: %d", id);
|
||||
|
||||
if ((isServer && serverReceivedPackets.find(id) == serverReceivedPackets.end()) || (!isServer && clientReceivedPackets.find(id) == clientReceivedPackets.end()))
|
||||
{
|
||||
//app.DebugPrintf("Bad packet id %d\n", id);
|
||||
|
||||
Reference in new issue
Block a user