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;