Sdk/World: Optimize updating dirty entities by removing a branch

This commit is contained in:
Jérôme Leclercq
2016-11-08 12:29:15 +01:00
parent 4536ba768c
commit a8d4e44669
2 changed files with 4 additions and 8 deletions

View File

@@ -253,9 +253,6 @@ namespace Ndk
Update(); //< Update entities
// And then update systems
if (!m_orderedSystemsUpdated)
ReorderSystems();
for (auto& systemPtr : m_orderedSystems)
systemPtr->Update(elapsedTime);
}