Init effects on title screen, to prevent crash.

This commit is contained in:
Steve 2016-02-25 12:26:54 +00:00
parent 84889d8391
commit 3f100a0848
2 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,8 @@ void initTitle(void)
initBackground(); initBackground();
initEffects();
initFighters(); initFighters();
if (fileExists(getSaveFilePath("game.save"))) if (fileExists(getSaveFilePath("game.save")))

View File

@ -50,6 +50,7 @@ extern char *getSaveFilePath(char *filename);
extern void playMusic(char *filename); extern void playMusic(char *filename);
extern void destroyBattle(void); extern void destroyBattle(void);
extern void playSound(int id); extern void playSound(int id);
extern void initEffects(void);
extern App app; extern App app;
extern Battle battle; extern Battle battle;