We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ddcc5d commit 289b5b2Copy full SHA for 289b5b2
1 file changed
src/physics/p2/World.js
@@ -540,11 +540,6 @@ Phaser.Physics.P2.prototype = {
540
if (typeof bottom === 'undefined') { bottom = true; }
541
if (typeof setCollisionGroup === 'undefined') { setCollisionGroup = true; }
542
543
- var hw = (width / 2);
544
- var hh = (height / 2);
545
- var cx = hw + x;
546
- var cy = hh + y;
547
-
548
if (this.walls.left)
549
{
550
this.world.removeBody(this.walls.left);
0 commit comments