diff --git a/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java b/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java index 3ac148c96..830e56a4e 100644 --- a/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java +++ b/src/java/com/threerings/whirled/spot/client/SpotSceneDirector.java @@ -1,5 +1,5 @@ // -// $Id: SpotSceneDirector.java,v 1.24 2003/03/27 17:24:55 mdb Exp $ +// $Id: SpotSceneDirector.java,v 1.25 2003/03/31 22:54:09 mdb Exp $ package com.threerings.whirled.spot.client; @@ -77,6 +77,15 @@ public class SpotSceneDirector extends BasicDirector _chatdir = chatdir; } + /** + * Returns our current location unless we have a location change + * pending, in which case our pending location is returned. + */ + public Location getIntendedLocation () + { + return (_pendingLoc != null) ? _pendingLoc : _location; + } + /** * Requests that this client move to the location specified by the * supplied portal id. A request will be made and when the response is