Network snapshot buffer size increased, needs to be looked over later

This commit is contained in:
2016-01-24 23:05:26 +01:00
parent 47d2fb6a9b
commit b6ba8a5bd7
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
#include <fstream>
#include <iostream>
#define INPUTSIZE 4097
#define INPUTSIZE 32000
typedef unsigned int PlayerID;
typedef unsigned int PacketID;
+1
View File
@@ -34,6 +34,7 @@ private:
// Sending messages to client logic
std::map<PlayerID, PlayerDefinition> m_ConnectedPlayers;
// HACK: Fix INPUTSIZE
char readBuffer[INPUTSIZE] = { 0 };
int bytesRead = 0;
// time for previouse message