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

@@ -1387,7 +1387,7 @@ void Engine::Render(float elapsedTime) {
sendPackTo<Input>(m_conn.m_sock_udp, &input, &m_bufout, &m_conn.m_srvsockaddr);
lsPck = recvPacks(m_conn.m_sock_udp, &m_buf);
recvPacks(m_conn.m_sock_udp, &m_buf, &lsPck);
char* prevptr = nullptr;
for (auto& pck : lsPck) { // We could make a few threads out of this.
Sync sync; Output out; ChunkMod cmod; BulletAdd bull; Chat chat;