Fix check from compilation errors

This commit is contained in:
Wojtek Figat
2023-06-15 12:14:35 +02:00
parent fea4b3fcba
commit b13139c6cc

View File

@@ -232,9 +232,6 @@ public:
T* result = (T*)GetChild(T::GetStaticClass());
if (!result)
{
if (T::GetStaticClass()->IsAbstract())
return nullptr;
result = New<T>();
result->SetParent(this, false, false);
}