Oh the price we pay for wanting to be able to logoff and log back on

without exiting the client.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1843 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-10-27 21:24:58 +00:00
parent 14a313486b
commit 6781e1da56
4 changed files with 51 additions and 18 deletions
@@ -1,5 +1,5 @@
//
// $Id: SpotSceneDirector.java,v 1.18 2002/08/14 19:07:57 mdb Exp $
// $Id: SpotSceneDirector.java,v 1.19 2002/10/27 21:24:58 mdb Exp $
package com.threerings.whirled.spot.client;
@@ -259,6 +259,19 @@ public class SpotSceneDirector extends BasicDirector
_sservice = (SpotService)client.requireService(SpotService.class);
}
// documentation inherited
public void clientDidLogoff (Client client)
{
super.clientDidLogoff(client);
// clear out our business
_locationId = -1;
_pendingLocId = -1;
_changeObserver = null;
_clobj = null;
_sservice = null;
}
// documentation inherited from interface
public void changeLocSucceeded (int clusterOid)
{