Core/EnttWorld: Use in_use instead of free_list to get entity count
Since in_use seems to be deprecated
This commit is contained in:
parent
2d3d7a670f
commit
1f34bb58ea
|
|
@ -24,7 +24,7 @@ namespace Nz
|
|||
|
||||
inline std::size_t EnttWorld::GetAliveEntityCount() const
|
||||
{
|
||||
return m_registry.storage<entt::entity>()->in_use();
|
||||
return m_registry.storage<entt::entity>()->free_list();
|
||||
}
|
||||
|
||||
inline entt::registry& EnttWorld::GetRegistry()
|
||||
|
|
|
|||
Loading…
Reference in New Issue