Client: better m_proto_ver initialisation
authorest31 <MTest31@outlook.com>
Sun, 5 Jul 2015 19:05:07 +0000 (21:05 +0200)
committerLoïc Blot <lblot@infopro-digital.com>
Tue, 7 Jul 2015 15:03:26 +0000 (17:03 +0200)
commitd92d376148f7ed35df1c757aab5eca5645bb8ddd
treec019258eeb401fdfc1ec39413af9d07623f2bfcf
parenta93838707a9aab104c20b6a971d8c622184a508f
Client: better m_proto_ver initialisation

Previously, m_proto_ver was set to the serialisation version
inside the legacy init packet.

Now, if the server doesn't send a protocol version (protocols < 25),
we set m_proto_ver to some value < 25 and > 0.
src/client.cpp
src/client.h
src/network/clientpackethandler.cpp