From 6f38a150d3cd8181694f5fe05af858b381fba080 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Mon, 12 Jun 2023 03:47:57 -0700 Subject: [PATCH] Minor formatting change --- dGame/Entity.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dGame/Entity.cpp b/dGame/Entity.cpp index 150a04c0..57367616 100644 --- a/dGame/Entity.cpp +++ b/dGame/Entity.cpp @@ -541,15 +541,13 @@ void Entity::IsGhosted() { * Don't ghost big phantom physics triggers, as putting those to sleep might prevent interactions. * Don't ghost property related objects, as the client expects those to always be loaded. */ - if ( - !EntityManager::IsExcludedFromGhosting(GetLOT()) && + if (!EntityManager::IsExcludedFromGhosting(GetLOT()) && !HasComponent(eReplicaComponentType::SCRIPTED_ACTIVITY) && !HasComponent(eReplicaComponentType::MOVING_PLATFORM) && !HasComponent(eReplicaComponentType::PHANTOM_PHYSICS) && !HasComponent(eReplicaComponentType::PROPERTY) && !HasComponent(eReplicaComponentType::RACING_CONTROL) && - !HasComponent(eReplicaComponentType::VEHICLE_PHYSICS) - ) { + !HasComponent(eReplicaComponentType::VEHICLE_PHYSICS)) { m_IsGhostingCandidate = true; }