Init effects on title screen, to prevent crash.
This commit is contained in:
parent
84889d8391
commit
3f100a0848
|
@ -68,6 +68,8 @@ void initTitle(void)
|
||||||
|
|
||||||
initBackground();
|
initBackground();
|
||||||
|
|
||||||
|
initEffects();
|
||||||
|
|
||||||
initFighters();
|
initFighters();
|
||||||
|
|
||||||
if (fileExists(getSaveFilePath("game.save")))
|
if (fileExists(getSaveFilePath("game.save")))
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue