From c090b935ac12ae4926756d01a8fd4236fe9b9044 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Wed, 26 Jul 2023 16:48:14 +1000 Subject: [PATCH] Update StarNpc.cpp --- source/game/StarNpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/game/StarNpc.cpp b/source/game/StarNpc.cpp index bd2aa55..97b0528 100644 --- a/source/game/StarNpc.cpp +++ b/source/game/StarNpc.cpp @@ -257,7 +257,7 @@ pair Npc::writeNetState(uint64_t fromVersion) { if (auto mode = entityMode()) { if (*mode == EntityMode::Master && connectionForEntity(entityId()) != ServerConnectionId) { PolyF poly = m_movementController->collisionPoly(); - m_movementController->setCollisionPoly({}); + m_movementController->setCollisionPoly({ { 0.0f, -FLT_MAX } }); auto result = m_netGroup.writeNetState(fromVersion); m_movementController->setCollisionPoly(poly); return result;