mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-22 03:05:16 +00:00
Remove a check which blocks players from being updated
Oops! teehee SmileW
This commit is contained in:
parent
d3b1935899
commit
b3a30b09f7
2 changed files with 1 additions and 5 deletions
|
@ -238,8 +238,6 @@ class Client {
|
||||||
|
|
||||||
// --- Game Info ---
|
// --- Game Info ---
|
||||||
|
|
||||||
bool mIsInGame = false;
|
|
||||||
|
|
||||||
bool isClientCaptured = false;
|
bool isClientCaptured = false;
|
||||||
|
|
||||||
bool isSentCaptureInf = false;
|
bool isSentCaptureInf = false;
|
||||||
|
|
|
@ -423,9 +423,7 @@ void Client::readFunc() {
|
||||||
switch (curPacket->mType)
|
switch (curPacket->mType)
|
||||||
{
|
{
|
||||||
case PacketType::PLAYERINF:
|
case PacketType::PLAYERINF:
|
||||||
if(mIsInGame) {
|
|
||||||
updatePlayerInfo((PlayerInf*)curPacket);
|
updatePlayerInfo((PlayerInf*)curPacket);
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case PacketType::GAMEINF:
|
case PacketType::GAMEINF:
|
||||||
updateGameInfo((GameInf*)curPacket);
|
updateGameInfo((GameInf*)curPacket);
|
||||||
|
|
Loading…
Reference in a new issue