photonstorm/phaser — pull request #609 by georgiee (2014-03-19 22:04:28+00:00)
Title: Fixed (still) wrong constants in Phaser.Physics.P2.Body

According to the commit https://github.com/photonstorm/phaser/commit/5e11b1ad8743274008c733cb6782c15364dc7074 this should be fixed.

But when you try to to something like this:
`sprite.body.static = true` you get some weird behaviour. So I checked the content of the static setter. There is an assignment of `Phaser.Physics.P2.STATIC`, which is undefined. This should be `Phaser.Physics.P2.Body.STATIC`. Same for DYNAMIC & KINEMATIC.

This commit fixed the error.