mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-07-13 19:35:41 +00:00
Very tiny cosmetic change
This commit is contained in:
parent
9cb18ecebd
commit
33b9eebd3f
1 changed files with 3 additions and 3 deletions
|
@ -7932,11 +7932,11 @@ luaFunc(filterNearestEntitiesAdd)
|
||||||
|
|
||||||
luaFunc(getNextFilteredEntity)
|
luaFunc(getNextFilteredEntity)
|
||||||
{
|
{
|
||||||
EntityDistancePair ep = filteredEntities[filteredEntityIdx];
|
const EntityDistancePair& ep = filteredEntities[filteredEntityIdx];
|
||||||
if (ep.first)
|
|
||||||
++filteredEntityIdx;
|
|
||||||
luaPushPointer(L, ep.first);
|
luaPushPointer(L, ep.first);
|
||||||
lua_pushnumber(L, ep.second);
|
lua_pushnumber(L, ep.second);
|
||||||
|
if (ep.first)
|
||||||
|
++filteredEntityIdx;
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue