Fix to EC::Manager::cleanup

This commit is contained in:
Stephen Seo 2016-03-14 20:05:49 +09:00
parent fa40fb3a66
commit bfac16072c

View file

@ -129,12 +129,12 @@ namespace EC
{
while(!std::get<bool>(entities[rhs]))
{
--rhs;
if(rhs == 0)
{
currentSize = 0;
return;
}
--rhs;
}
if(lhs >= rhs)
{