newWorld(w, h) now actually makes the world w*h, not 4*w*h

This commit is contained in:
Bart van Strien
2010-10-12 21:36:41 +02:00
parent fdd8393b13
commit b2d054ad50
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -44,6 +44,7 @@ LOVE 0.7.0 [Game Slave]
* Changed fonts, they're now po2 safe.
* Changed the traceback in the error screen.
* Changed font origin to top-left.
* Changed behavior of love.physics.newWorld(w, h), it now creates a w*h world, not a 4*w*h world.
* Removed font functions from love.graphics.
+1 -1
View File
@@ -57,7 +57,7 @@ namespace box2d
World * Physics::newWorld(float w, float h)
{
return newWorld(-w, -h, w, h, 0, 0, true);
return newWorld(0, 0, w, h, 0, 0, true);
}
Body * Physics::newBody(World * world, float x, float y, float mass, float i)