mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
Fix World:getCallbacks/getContactFilter to not return any arguments passed (though you shouldn't be passing any arguments anyway, that's silly)
--HG-- branch : box2d-update
This commit is contained in:
@@ -310,7 +310,7 @@ namespace box2d
|
||||
end.ref ? end.ref->push() : lua_pushnil(L);
|
||||
presolve.ref ? presolve.ref->push() : lua_pushnil(L);
|
||||
postsolve.ref ? postsolve.ref->push() : lua_pushnil(L);
|
||||
return lua_gettop(L);
|
||||
return 4;
|
||||
}
|
||||
|
||||
int World::setContactFilter(lua_State * L)
|
||||
@@ -324,7 +324,7 @@ namespace box2d
|
||||
int World::getContactFilter(lua_State * L)
|
||||
{
|
||||
filter.ref ? filter.ref->push() : lua_pushnil(L);
|
||||
return lua_gettop(L);
|
||||
return 1;
|
||||
}
|
||||
|
||||
void World::setGravity(float x, float y)
|
||||
|
||||
Reference in New Issue
Block a user