From dac5147b7c9910bc901e2de1586fc82d60b4dd33 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Thu, 29 Sep 2016 21:54:31 -0500 Subject: [PATCH] also helps to name properly --- .../PlanetServer/src/shared/GameServerConnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/server/application/PlanetServer/src/shared/GameServerConnection.cpp b/engine/server/application/PlanetServer/src/shared/GameServerConnection.cpp index 1fb0d52c..f2a60fbb 100755 --- a/engine/server/application/PlanetServer/src/shared/GameServerConnection.cpp +++ b/engine/server/application/PlanetServer/src/shared/GameServerConnection.cpp @@ -75,7 +75,7 @@ void GameServerConnection::onReceive(Archive::ByteStream const &message) } else { - switch (msgType) { + switch (messageType) { case constcrc("EndForward") : { if (--m_forwardCounts.back() == 0) @@ -103,7 +103,7 @@ void GameServerConnection::onReceive(Archive::ByteStream const &message) } } - if (msgType == constcrc("BeginForward")) + if (messageType == constcrc("BeginForward")) { GenericValueTypeMessage > const beginForwardMessage(ri);