Remove a check which blocks players from being updated
Oops! teehee SmileW
This commit is contained in:
parent
d3b1935899
commit
b3a30b09f7
|
@ -238,8 +238,6 @@ class Client {
|
|||
|
||||
// --- Game Info ---
|
||||
|
||||
bool mIsInGame = false;
|
||||
|
||||
bool isClientCaptured = false;
|
||||
|
||||
bool isSentCaptureInf = false;
|
||||
|
|
|
@ -423,9 +423,7 @@ void Client::readFunc() {
|
|||
switch (curPacket->mType)
|
||||
{
|
||||
case PacketType::PLAYERINF:
|
||||
if(mIsInGame) {
|
||||
updatePlayerInfo((PlayerInf*)curPacket);
|
||||
}
|
||||
updatePlayerInfo((PlayerInf*)curPacket);
|
||||
break;
|
||||
case PacketType::GAMEINF:
|
||||
updateGameInfo((GameInf*)curPacket);
|
||||
|
|
Loading…
Reference in New Issue