From 148c177d2721b5227a990b840589ee150e0c2b0e Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Mon, 28 Mar 2022 03:37:12 -0700 Subject: [PATCH] shortened method --- .../dComponents/PropertyEntranceComponent.cpp | 28 ++----------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/dGame/dComponents/PropertyEntranceComponent.cpp b/dGame/dComponents/PropertyEntranceComponent.cpp index 02bfd8c9..28840dd0 100644 --- a/dGame/dComponents/PropertyEntranceComponent.cpp +++ b/dGame/dComponents/PropertyEntranceComponent.cpp @@ -76,33 +76,9 @@ void PropertyEntranceComponent::OnEnterProperty(Entity* entity, uint32_t index, launcher->Launch(entity, LWOOBJID_EMPTY, LWOMAPID_INVALID, cloneId); } -void PropertyEntranceComponent::OnPropertyEntranceSync(Entity* entity, - bool includeNullAddress, - bool includeNullDescription, - bool playerOwn, - bool updateUi, - int32_t numResults, - int32_t lReputationTime, - int32_t sortMethod, - int32_t startIndex, - std::string filterText, - const SystemAddress& sysAddr) -{ - Game::logger->Log("PropertyEntranceComponent", "On Sync %d %d %d %d %i %i %i %i %s\n", - includeNullAddress, - includeNullDescription, - playerOwn, - updateUi, - numResults, - lReputationTime, - sortMethod, - startIndex, - filterText.c_str() - ); - +void PropertyEntranceComponent::OnPropertyEntranceSync(Entity* entity, bool includeNullAddress, bool includeNullDescription, bool playerOwn, bool updateUi, int32_t numResults, int32_t lReputationTime, int32_t sortMethod, int32_t startIndex, std::string filterText, const SystemAddress& sysAddr){ auto* launchpadComponent = m_Parent->GetComponent(); - if (launchpadComponent == nullptr) - return; + if (launchpadComponent == nullptr) return; std::vector entries {}; PropertySelectQueryProperty playerEntry {};