1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-29 03:33:48 +00:00

Very tiny cosmetic change

This commit is contained in:
fgenesis 2017-02-15 00:26:50 +01:00
parent 9cb18ecebd
commit 33b9eebd3f

View file

@ -7932,11 +7932,11 @@ luaFunc(filterNearestEntitiesAdd)
luaFunc(getNextFilteredEntity)
{
EntityDistancePair ep = filteredEntities[filteredEntityIdx];
if (ep.first)
++filteredEntityIdx;
const EntityDistancePair& ep = filteredEntities[filteredEntityIdx];
luaPushPointer(L, ep.first);
lua_pushnumber(L, ep.second);
if (ep.first)
++filteredEntityIdx;
return 2;
}