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
This commit is contained in:
Dave Hoover
2007-01-24 22:55:11 +00:00
parent 3307994221
commit 609452c291
@@ -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);
}
/**