From 40a2fe57e038c60fc8d61df6faed01567cd4e515 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 29 Jul 2023 12:14:11 +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 cd20993..28514b8 100644 --- a/source/game/StarNpc.cpp +++ b/source/game/StarNpc.cpp @@ -258,7 +258,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({ { 0.0f, -FLT_MAX } }); + m_movementController->setCollisionPoly({ { 0.0f, -3.402823466e+38F }}); auto result = m_netGroup.writeNetState(fromVersion); m_movementController->setCollisionPoly(poly); return result;