diff --git a/source/glest_game/network/network_types.h b/source/glest_game/network/network_types.h index 2cb97bb58..52f0daea1 100644 --- a/source/glest_game/network/network_types.h +++ b/source/glest_game/network/network_types.h @@ -40,6 +40,7 @@ class World; // class NetworkString // ===================================================== +#pragma pack(push, 1) template class NetworkString{ private: @@ -63,6 +64,7 @@ public: string getString() const { return (buffer[0] != '\0' ? buffer : ""); } }; +#pragma pack(pop) // ===================================================== // class NetworkCommand