changed max network command batch size to use unsigned int to allow more commands to be sent at once

This commit is contained in:
Mark Vejvoda
2010-04-30 02:41:42 +00:00
parent e7cb595ae8
commit 35cd622f43

View File

@@ -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];
}; };