Third time's a charm. Why I thought I needed to invert the logic, I do not
know. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@951 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: IsoUtil.java,v 1.19 2002/02/06 23:35:47 mdb Exp $
|
// $Id: IsoUtil.java,v 1.20 2002/02/06 23:38:45 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.scene.util;
|
package com.threerings.miso.scene.util;
|
||||||
|
|
||||||
@@ -150,10 +150,10 @@ public class IsoUtil
|
|||||||
ObjectTile tile1, int x1, int y1,
|
ObjectTile tile1, int x1, int y1,
|
||||||
ObjectTile tile2, int x2, int y2)
|
ObjectTile tile2, int x2, int y2)
|
||||||
{
|
{
|
||||||
return !(x2 > x1 - tile1.getBaseWidth() &&
|
return (x2 > x1 - tile1.getBaseWidth() &&
|
||||||
x1 > x2 - tile2.getBaseWidth() &&
|
x1 > x2 - tile2.getBaseWidth() &&
|
||||||
y2 > y1 - tile1.getBaseHeight() &&
|
y2 > y1 - tile1.getBaseHeight() &&
|
||||||
y1 > y2 - tile2.getBaseHeight());
|
y1 > y2 - tile2.getBaseHeight());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user