mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 05:57:20 +00:00
Minor formatting change
This commit is contained in:
parent
36c44ecc83
commit
6f38a150d3
@ -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 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.
|
* Don't ghost property related objects, as the client expects those to always be loaded.
|
||||||
*/
|
*/
|
||||||
if (
|
if (!EntityManager::IsExcludedFromGhosting(GetLOT()) &&
|
||||||
!EntityManager::IsExcludedFromGhosting(GetLOT()) &&
|
|
||||||
!HasComponent(eReplicaComponentType::SCRIPTED_ACTIVITY) &&
|
!HasComponent(eReplicaComponentType::SCRIPTED_ACTIVITY) &&
|
||||||
!HasComponent(eReplicaComponentType::MOVING_PLATFORM) &&
|
!HasComponent(eReplicaComponentType::MOVING_PLATFORM) &&
|
||||||
!HasComponent(eReplicaComponentType::PHANTOM_PHYSICS) &&
|
!HasComponent(eReplicaComponentType::PHANTOM_PHYSICS) &&
|
||||||
!HasComponent(eReplicaComponentType::PROPERTY) &&
|
!HasComponent(eReplicaComponentType::PROPERTY) &&
|
||||||
!HasComponent(eReplicaComponentType::RACING_CONTROL) &&
|
!HasComponent(eReplicaComponentType::RACING_CONTROL) &&
|
||||||
!HasComponent(eReplicaComponentType::VEHICLE_PHYSICS)
|
!HasComponent(eReplicaComponentType::VEHICLE_PHYSICS)) {
|
||||||
) {
|
|
||||||
m_IsGhostingCandidate = true;
|
m_IsGhostingCandidate = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user