diff --git a/SDK/include/NDK/Entity.inl b/SDK/include/NDK/Entity.inl index 72936bee9..c3935b0bf 100644 --- a/SDK/include/NDK/Entity.inl +++ b/SDK/include/NDK/Entity.inl @@ -80,6 +80,11 @@ namespace Ndk return HasComponent(index); } + inline bool Entity::IsValid() const + { + return m_valid; + } + template void Entity::RemoveComponent() { diff --git a/SDK/src/NDK/Entity.cpp b/SDK/src/NDK/Entity.cpp index df6199e62..e6bd09ce0 100644 --- a/SDK/src/NDK/Entity.cpp +++ b/SDK/src/NDK/Entity.cpp @@ -66,11 +66,6 @@ namespace Ndk m_world->KillEntity(this); } - bool Entity::IsValid() const - { - return m_valid; - } - void Entity::RemoveAllComponents() { for (unsigned int i = m_componentBits.FindFirst(); i != m_componentBits.npos; i = m_componentBits.FindNext(i))