diff --git a/src/as/com/threerings/crowd/data/Place.as b/src/as/com/threerings/crowd/data/Place.as index 974ec7eb5..d326f5627 100644 --- a/src/as/com/threerings/crowd/data/Place.as +++ b/src/as/com/threerings/crowd/data/Place.as @@ -24,11 +24,13 @@ package com.threerings.crowd.data { import com.threerings.io.ObjectInputStream; import com.threerings.io.ObjectOutputStream; import com.threerings.io.SimpleStreamableObject; +import com.threerings.util.Hashable; /** * Contains information on the current place occupied by a body. */ public class Place extends SimpleStreamableObject + implements Hashable { /** The oid of this place's {@link PlaceObject}. */ public var placeOid :int; @@ -41,6 +43,12 @@ public class Place extends SimpleStreamableObject this.placeOid = placeOid; } + // from Object + override public function hashCode () :int + { + return placeOid; + } + // from Object public function equals (other :Object) :Boolean {