BodyObject still derives from ClientObject, alas, but that no longer means a BodyObject is its own ClientObject. Make sure to send this notification to the right object.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1024 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Par Winzell
2010-12-05 03:59:52 +00:00
parent 56f5acf722
commit 73e514b351
@@ -203,8 +203,11 @@ public class SceneRegistry
// first remove them from their old place // first remove them from their old place
_locman.leaveOccupiedPlace(source); _locman.leaveOccupiedPlace(source);
// then send a forced move notification // then send a forced move notification to their client
SceneSender.forcedMove(source, sceneId); ClientObject clobj = source.getClientObject();
if (clobj != null) {
SceneSender.forcedMove(source, sceneId);
}
} }
/** /**