It sucks that we have so many old things that use -1 to mean "no value".

I'm going to assume that this one is ok to change to 0, because that's
what a body's sceneId is going to be before they're ever placed in a scene.
(Which is why 0 is a much better default value.)


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@312 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-06-12 23:42:47 +00:00
parent 5f04c759c7
commit e7c10e2a98
@@ -176,7 +176,7 @@ public class SceneProvider
_locprov.leaveOccupiedPlace((BodyObject)source); _locprov.leaveOccupiedPlace((BodyObject)source);
// and clear out their scene information // and clear out their scene information
source.setSceneId(-1); source.setSceneId(0);
} }
/** The location provider we use to handle low-level location stuff. */ /** The location provider we use to handle low-level location stuff. */