DistanceJoint:getType now returns "distance" instead of "circle"

This commit is contained in:
Bill Meltsner
2010-08-19 01:05:51 -05:00
parent afa865973d
commit 7611edd9ee
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ LOVE 0.7.0
* Fixed a bug in the loader (for require). * Fixed a bug in the loader (for require).
* Fixed a bug where ParticleSystem::setSprite did not retain the new image. * Fixed a bug where ParticleSystem::setSprite did not retain the new image.
* Fixed a bug where images would lose their settings (wrapping, filters) when setMode as called. * Fixed a bug where images would lose their settings (wrapping, filters) when setMode as called.
* Fixed a bug where shape:getBody wasn't exposed. * Fixed a bug where shape:getBody wasn't exposed.
* Fixed a bug where DistanceJoint:getType() returned "circle" - it now returns "distance".
* Invalid FSAA values now fall back to working ones (or none at all). * Invalid FSAA values now fall back to working ones (or none at all).
* Cleaned up traceback in error screen. * Cleaned up traceback in error screen.
* Moved fonts to love.font (from love.graphics), only rendering remains in love.graphics. * Moved fonts to love.font (from love.graphics), only rendering remains in love.graphics.
+5 -5
View File
@@ -40,11 +40,11 @@ namespace physics
StringMap<Joint::Type, Joint::JOINT_MAX_ENUM>::Entry Joint::typeEntries[] = StringMap<Joint::Type, Joint::JOINT_MAX_ENUM>::Entry Joint::typeEntries[] =
{ {
{"circle", Joint::JOINT_DISTANCE}, {"distance", Joint::JOINT_DISTANCE},
{"revolute", Joint::JOINT_REVOLUTE}, {"revolute", Joint::JOINT_REVOLUTE},
{"prismatic", Joint::JOINT_PRISMATIC}, {"prismatic", Joint::JOINT_PRISMATIC},
{"mouse", Joint::JOINT_MOUSE}, {"mouse", Joint::JOINT_MOUSE},
{"pulley", Joint::JOINT_PULLEY}, {"pulley", Joint::JOINT_PULLEY},
{"gear", Joint::JOINT_GEAR}, {"gear", Joint::JOINT_GEAR},
}; };