diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-05 17:07:10 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2017-08-05 17:07:10 +0200 |
commit | c9c78e191dd71bacd769bbeccd58b80e4376184b (patch) | |
tree | 4da1a8500dd73dd6368fc89496dc0f428d318c5b /src/Network.hpp | |
parent | 2017-08-03 (diff) | |
download | AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.tar AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.tar.gz AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.tar.bz2 AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.tar.lz AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.tar.xz AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.tar.zst AltCraft-c9c78e191dd71bacd769bbeccd58b80e4376184b.zip |
Diffstat (limited to 'src/Network.hpp')
-rw-r--r-- | src/Network.hpp | 4 |
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: |