mirror of
https://github.com/photonstorm/phaser
synced 2025-02-16 14:08:28 +00:00
Merge pull request #6360 from samme/fix/body-process-blocked-none
Set blocked.none in processX(), processY()
This commit is contained in:
commit
40e2181c83
1 changed files with 4 additions and 0 deletions
|
@ -2465,11 +2465,13 @@ var Body = new Class({
|
|||
if (left)
|
||||
{
|
||||
blocked.left = true;
|
||||
blocked.none = false;
|
||||
}
|
||||
|
||||
if (right)
|
||||
{
|
||||
blocked.right = true;
|
||||
blocked.none = false;
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -2501,11 +2503,13 @@ var Body = new Class({
|
|||
if (up)
|
||||
{
|
||||
blocked.up = true;
|
||||
blocked.none = false;
|
||||
}
|
||||
|
||||
if (down)
|
||||
{
|
||||
blocked.down = true;
|
||||
blocked.none = false;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue