Specify auto ptr

This commit is contained in:
David Markowitz
2023-06-12 04:00:44 -07:00
parent 262b6ebb58
commit 5be9146662
3 changed files with 37 additions and 37 deletions

View File

@@ -732,7 +732,7 @@ void DestroyableComponent::Smash(const LWOOBJID source, const eKillType killType
auto* team = TeamManager::Instance()->GetTeam(owner->GetObjectID());
const auto isEnemy = m_ParentEntity->GetComponent<BaseCombatAIComponent>() != nullptr;
const auto* isEnemy = m_ParentEntity->GetComponent<BaseCombatAIComponent>() != nullptr;
auto* inventoryComponent = owner->GetComponent<InventoryComponent>();