We'll have to be a little more forceful about leaving than just clearing
out the body object's location id. Sheesh. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2013 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: CrowdClient.java,v 1.17 2002/11/26 02:46:01 mdb Exp $
|
||||
// $Id: CrowdClient.java,v 1.18 2002/12/02 23:18:06 mdb Exp $
|
||||
|
||||
package com.threerings.crowd.server;
|
||||
|
||||
@@ -9,6 +9,7 @@ import com.threerings.crowd.Log;
|
||||
import com.threerings.crowd.data.BodyObject;
|
||||
import com.threerings.crowd.data.OccupantInfo;
|
||||
import com.threerings.crowd.data.PlaceObject;
|
||||
import com.threerings.crowd.server.CrowdServer;
|
||||
|
||||
/**
|
||||
* The crowd client extends the presents client with crowd-specific client
|
||||
@@ -46,8 +47,7 @@ public class CrowdClient extends PresentsClient
|
||||
// clear out our location so that anyone listening for such things
|
||||
// will know that we've left
|
||||
if (_clobj != null) {
|
||||
BodyObject bobj = (BodyObject)_clobj;
|
||||
bobj.setLocation(-1);
|
||||
CrowdServer.plreg.locprov.leaveOccupiedPlace((BodyObject)_clobj);
|
||||
}
|
||||
|
||||
super.sessionDidEnd();
|
||||
|
||||
Reference in New Issue
Block a user