diff --git a/src/java/com/threerings/presents/dobj/CompoundEvent.java b/src/java/com/threerings/presents/dobj/CompoundEvent.java index 92539ab09..c09a39f44 100644 --- a/src/java/com/threerings/presents/dobj/CompoundEvent.java +++ b/src/java/com/threerings/presents/dobj/CompoundEvent.java @@ -1,5 +1,5 @@ // -// $Id: CompoundEvent.java,v 1.2 2002/02/21 00:59:29 mdb Exp $ +// $Id: CompoundEvent.java,v 1.3 2002/03/20 03:29:21 mdb Exp $ package com.threerings.presents.dobj; @@ -93,6 +93,19 @@ public class CompoundEvent extends TypedEvent _events.clear(); } + /** + * We need to propagate our source oid to our constituent events. + */ + public void setSourceOid (int sourceOid) + { + super.setSourceOid(sourceOid); + + int ecount = _events.size(); + for (int i = 0; i < ecount; i++) { + ((DEvent)_events.get(i)).setSourceOid(sourceOid); + } + } + /** * Nothing to apply here. */