Removed un-used vars.

This commit is contained in:
photonstorm 2014-04-10 17:25:35 +01:00
parent 9ddcc5d0ea
commit 289b5b2532

View file

@ -540,11 +540,6 @@ Phaser.Physics.P2.prototype = {
if (typeof bottom === 'undefined') { bottom = true; } if (typeof bottom === 'undefined') { bottom = true; }
if (typeof setCollisionGroup === 'undefined') { setCollisionGroup = true; } if (typeof setCollisionGroup === 'undefined') { setCollisionGroup = true; }
var hw = (width / 2);
var hh = (height / 2);
var cx = hw + x;
var cy = hh + y;
if (this.walls.left) if (this.walls.left)
{ {
this.world.removeBody(this.walls.left); this.world.removeBody(this.walls.left);