mirror of
https://github.com/glest/glest-source.git
synced 2025-09-01 20:12:40 +02:00
changed max network command batch size to use unsigned int to allow more commands to be sent at once
This commit is contained in:
@@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
using Shared::Platform::Socket;
|
using Shared::Platform::Socket;
|
||||||
using Shared::Platform::int8;
|
using Shared::Platform::int8;
|
||||||
|
using Shared::Platform::uint8;
|
||||||
using Shared::Platform::int16;
|
using Shared::Platform::int16;
|
||||||
|
|
||||||
namespace Glest{ namespace Game{
|
namespace Glest{ namespace Game{
|
||||||
@@ -184,7 +185,7 @@ private:
|
|||||||
private:
|
private:
|
||||||
struct Data{
|
struct Data{
|
||||||
int8 messageType;
|
int8 messageType;
|
||||||
int8 commandCount;
|
uint8 commandCount;
|
||||||
int32 frameCount;
|
int32 frameCount;
|
||||||
NetworkCommand commands[maxCommandCount];
|
NetworkCommand commands[maxCommandCount];
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user