Cleanup + client.

This commit is contained in:
MarcEricMartel
2023-12-08 04:58:27 -05:00
parent 34976ef7ec
commit 3da68297e4
3 changed files with 3 additions and 7 deletions

View File

@@ -258,7 +258,7 @@ void Server::Run() {
/* In */
Input in; Chat chat; Sync sync;
Input in; Sync sync;
recvPacks(m_sock_udp, &m_buf, &lsPck);
for (auto& pck : lsPck) {
@@ -274,10 +274,6 @@ void Server::Run() {
case SYNC:
if (Deserialize(&sync, pck, &bsize)) {}
break;
case CHAT:
//if (Deserialize(&chat, pck, &bsize))
//chatlog.push_back(chat);
break;
default: break;
}
}