diff --git a/dGame/dComponents/DestroyableComponent.cpp b/dGame/dComponents/DestroyableComponent.cpp index ccd35797..3be0ce0c 100644 --- a/dGame/dComponents/DestroyableComponent.cpp +++ b/dGame/dComponents/DestroyableComponent.cpp @@ -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() != nullptr; + const auto isEnemy = m_ParentEntity->GetComponent() != nullptr; auto* inventoryComponent = owner->GetComponent();