Fix missing return
This commit is contained in:
parent
421fbdd710
commit
8ae2183d59
@ -12,7 +12,7 @@ bool game::view::ClientSession::ProcessMessage(net::InMessage& msg)
|
|||||||
{
|
{
|
||||||
net::MessageType type = net::MSG_NONE;
|
net::MessageType type = net::MSG_NONE;
|
||||||
if (!msg.Read(type))
|
if (!msg.Read(type))
|
||||||
break;
|
return true;
|
||||||
|
|
||||||
if (type == net::MSG_NONE || type >= net::MSG_COUNT)
|
if (type == net::MSG_NONE || type >= net::MSG_COUNT)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user