From 35cd622f4367e21cde2f088b832d9259cbe11027 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Fri, 30 Apr 2010 02:41:42 +0000 Subject: [PATCH] changed max network command batch size to use unsigned int to allow more commands to be sent at once --- source/glest_game/network/network_message.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/glest_game/network/network_message.h b/source/glest_game/network/network_message.h index 171d466d5..2e9c0b8c8 100644 --- a/source/glest_game/network/network_message.h +++ b/source/glest_game/network/network_message.h @@ -18,6 +18,7 @@ using Shared::Platform::Socket; using Shared::Platform::int8; +using Shared::Platform::uint8; using Shared::Platform::int16; namespace Glest{ namespace Game{ @@ -184,7 +185,7 @@ private: private: struct Data{ int8 messageType; - int8 commandCount; + uint8 commandCount; int32 frameCount; NetworkCommand commands[maxCommandCount]; };