From 3ecf7e311ea3824f8803a01de01ff168756456f5 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Sat, 18 Mar 2006 00:02:48 +0000 Subject: [PATCH] Re-declare SUCCESS so that it can be referred to as ChatCodes.SUCCESS. Setting up a prototype const doesn't work, which is possibly a compiler bug. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3959 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/crowd/chat/data/ChatCodes.as | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/as/com/threerings/crowd/chat/data/ChatCodes.as b/src/as/com/threerings/crowd/chat/data/ChatCodes.as index 7294d39c9..09dec102b 100644 --- a/src/as/com/threerings/crowd/chat/data/ChatCodes.as +++ b/src/as/com/threerings/crowd/chat/data/ChatCodes.as @@ -33,6 +33,10 @@ import com.threerings.crowd.chat.client.SpeakService; */ public class ChatCodes extends InvocationCodes { + // TODO: Fucking hell, this sucks balls. It'd be nice if we didn't + // have to do this, I tried making SUCCESS prototype const in InvCodes.... + public static const SUCCESS :String = InvocationCodes.SUCCESS; + /** The message identifier for a chat notification message. */ public static const CHAT_NOTIFICATION :String = "chat";