summaryrefslogtreecommitdiffstats
path: root/src/Network.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network.hpp')
-rw-r--r--src/Network.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network.hpp b/src/Network.hpp
index 1281289..6263e1b 100644
--- a/src/Network.hpp
+++ b/src/Network.hpp
@@ -12,8 +12,8 @@ enum ConnectionState {
};
class Network {
- Socket *socket;
- StreamSocket *stream;
+ Socket *socket = nullptr;
+ StreamSocket *stream = nullptr;
std::shared_ptr<Packet> ReceivePacketByPacketId(int packetId, ConnectionState state, StreamInput &stream);
public: