Fix to EC::Manager::cleanup
This commit is contained in:
parent
fa40fb3a66
commit
bfac16072c
1 changed files with 1 additions and 1 deletions
|
@ -129,12 +129,12 @@ namespace EC
|
||||||
{
|
{
|
||||||
while(!std::get<bool>(entities[rhs]))
|
while(!std::get<bool>(entities[rhs]))
|
||||||
{
|
{
|
||||||
--rhs;
|
|
||||||
if(rhs == 0)
|
if(rhs == 0)
|
||||||
{
|
{
|
||||||
currentSize = 0;
|
currentSize = 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
--rhs;
|
||||||
}
|
}
|
||||||
if(lhs >= rhs)
|
if(lhs >= rhs)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue