Actually, this looks like the "right" way to do this - use the PlaceOid as our comparator.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@375 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Mike Thomas
2007-07-24 17:41:20 +00:00
parent 85d3e3c7a7
commit 8ad7f5eaef
@@ -315,7 +315,7 @@ public class SpotSceneManager extends SceneManager
// make sure we're in the same scene as said user // make sure we're in the same scene as said user
BodyObject friend = (BodyObject)tobj; BodyObject friend = (BodyObject)tobj;
if (!friend.location.equals(joiner.location)) { if (friend.getPlaceOid() != joiner.getPlaceOid()) {
Log.info("Refusing cluster join from non-proximate user [joiner=" + joiner.who() + Log.info("Refusing cluster join from non-proximate user [joiner=" + joiner.who() +
", jloc=" + joiner.location + ", target=" + friend.who() + ", jloc=" + joiner.location + ", target=" + friend.who() +
", tloc=" + friend.location + "]."); ", tloc=" + friend.location + "].");