Now renders func brush materials correclty

This commit is contained in:
Antoine Pilote
2024-08-31 12:33:48 -04:00
parent 8aa41a1bf8
commit f59a7e931f
8 changed files with 76 additions and 25 deletions

View File

@@ -126,7 +126,7 @@ namespace Nuake {
return false;
}
switch (static_cast<ComponentTypes>(componentEnumValue))
switch (static_cast<ComponentTypes>(componentType))
{
case PARENT: return entity.HasComponent<ParentComponent>();
case NAME: return entity.HasComponent<NameComponent>();