bpbwan / andengine

Automatically exported from code.google.com/p/andengine
0 stars 0 forks source link

BaseGameActivity.getFontManager() is wrong! #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, it writes:
      public FontManager getFontManager() {
        return this.getFontManager();
    }
It will cause stackoverflowexception.

It should be:
      public FontManager getFontManager() {
        return this.mEngine.getFontManager();
    }

Original issue reported on code.google.com by llhbad...@gmail.com on 1 Dec 2011 at 2:33