From 3c99782643007fbb501c25e517d0b6e839b3e6cc Mon Sep 17 00:00:00 2001 From: Lynix Date: Fri, 21 Apr 2017 21:27:07 +0200 Subject: [PATCH] Sdk/EntityList: Fix empty() behavior --- SDK/include/NDK/EntityList.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDK/include/NDK/EntityList.inl b/SDK/include/NDK/EntityList.inl index 8d639b762..ad87540cd 100644 --- a/SDK/include/NDK/EntityList.inl +++ b/SDK/include/NDK/EntityList.inl @@ -119,7 +119,7 @@ namespace Ndk inline bool EntityList::empty() const { - return m_entityBits.TestAny(); + return !m_entityBits.TestAny(); } inline EntityList::iterator EntityList::end() const