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:
@@ -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. */
|
||||||
|
|||||||
Reference in New Issue
Block a user