From 609452c291449543ee5269ede6bb6fcc9e138a2e Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Wed, 24 Jan 2007 22:55:11 +0000 Subject: [PATCH] Don't recurse infinitely calling createLabel with the same args over and over. Casting host to a Component seems to make java find the appropriate other function to call. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@155 c613c5cb-e716-0410-b11b-feb51c14d237 --- src/java/com/threerings/parlor/media/ScoreAnimation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/parlor/media/ScoreAnimation.java b/src/java/com/threerings/parlor/media/ScoreAnimation.java index cb6d2169..982e988f 100644 --- a/src/java/com/threerings/parlor/media/ScoreAnimation.java +++ b/src/java/com/threerings/parlor/media/ScoreAnimation.java @@ -67,7 +67,7 @@ public class ScoreAnimation extends FloatingTextAnimation */ public static Label createLabel (String score, Color c, Font font, MediaPanel host) { - return createLabel(score, c, font, host); + return createLabel(score, c, font, (Component)host); } /**