diff --git a/src/OverteClient.cpp b/src/OverteClient.cpp index defc6b7..6f2c1b2 100644 --- a/src/OverteClient.cpp +++ b/src/OverteClient.cpp @@ -142,11 +142,12 @@ void OverteClient::poll() { sockaddr_storage from{}; socklen_t fromlen = sizeof(from); ssize_t r = ::recvfrom(m_udpFd, buf, sizeof(buf), 0, reinterpret_cast(&from), &fromlen); if (r > 0) { - // TODO: feed avatar/audio packets through protocol parser - // std::cout << "[OverteClient] UDP packet received (" << r << " bytes)" << std::endl; + // Parse as potential domain/avatar packets + parseEntityPacket(buf, static_cast(r)); } } + // Parse entity server packets parseNetworkPackets(); if (m_useSimulation) {