mirror of
https://github.com/photonstorm/phaser
synced 2024-12-23 11:33:28 +00:00
Update TileIntersectsBody.js
This commit is contained in:
parent
f47d2a028a
commit
891c39cc69
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
var TileIntersectsBody = function (tileWorldRect, body)
|
||||
{
|
||||
// Currently, all bodies are treated as rectangles when colliding with a Tile.
|
||||
|
||||
|
||||
return !(
|
||||
body.right <= tileWorldRect.left ||
|
||||
body.bottom <= tileWorldRect.top ||
|
||||
|
|
Loading…
Reference in a new issue