Re-remade component and system ids
Former-commit-id: 98b76695cca904c55c7333801c3cdf693da15086
This commit is contained in:
@@ -116,10 +116,8 @@ namespace Ndk
|
||||
// Aucun intérêt de traiter une entité n'existant plus
|
||||
if (entity.IsValid())
|
||||
{
|
||||
for (auto& systemPair : m_systems)
|
||||
for (auto& system : m_systems)
|
||||
{
|
||||
BaseSystem* system = systemPair.second.get();
|
||||
|
||||
// L'entité est-elle enregistrée comme faisant partie du système ?
|
||||
bool partOfSystem = system->HasEntity(&entity);
|
||||
if (system->Filters(&entity))
|
||||
|
||||
Reference in New Issue
Block a user