Cleaned up some code, the 'ry' parameter of love.graphics.rectangle now defaults to the value of 'rx' rather than defaulting to 0.

This commit is contained in:
Alex Szpakowski
2015-05-27 17:36:27 -03:00
parent 2a4524e5c0
commit 0f986b10aa
25 changed files with 119 additions and 139 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ int Body::getContactList(lua_State *L) const
contact = new Contact(ce->contact);
else
contact->retain();
luax_pushtype(L, PHYSICS_CONTACT_ID, contact);
contact->release();
lua_rawseti(L, -2, i);
+1 -1
View File
@@ -213,7 +213,7 @@ int Joint::getUserData(lua_State *L)
udata->ref->push(L);
else
lua_pushnil(L);
return 1;
}
+1 -1
View File
@@ -69,7 +69,7 @@ public:
/// Get the position correction factor in the range [0,1].
float getCorrectionFactor() const;
private:
// The Box2D MotorJoint object.