mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 12:43:26 +00:00
Fixed a conditional bug in Arcade Physics ProcessX
when Body2 is Immovable and Body1 is not
This commit is contained in:
parent
a3bcf4beb1
commit
d22e3567c7
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ var RunImmovableBody2 = function (blockedState)
|
|||
// Separation happened in the block check
|
||||
body1.velocity.x = 0;
|
||||
}
|
||||
if (body2OnLeft)
|
||||
else if (body2OnLeft)
|
||||
{
|
||||
body1.processX(overlap, body1FullImpact, true);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue