From 2ccf76d30a9d2380bd7bf652188534606a61b390 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 10 Aug 2006 18:02:00 +0000 Subject: [PATCH] This is exactly the kind of thing I hate about abjectscript: if you forget to cast something, it's all OK. Luckily I spelled everything correctly, but lets change it so that the compiler can help us check things. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4314 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/presents/dobj/AttributeChangedEvent.as | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/as/com/threerings/presents/dobj/AttributeChangedEvent.as b/src/as/com/threerings/presents/dobj/AttributeChangedEvent.as index ca5f55bc0..1c0c0c7b7 100644 --- a/src/as/com/threerings/presents/dobj/AttributeChangedEvent.as +++ b/src/as/com/threerings/presents/dobj/AttributeChangedEvent.as @@ -77,7 +77,7 @@ public class AttributeChangedEvent extends NamedEvent override protected function notifyListener (listener :Object) :void { if (listener is AttributeChangeListener) { - listener.attributeChanged(this); + (listener as AttributeChangeListener).attributeChanged(this); } }