Set camera to 0,0 on title, to ensure effects appear in the correct places.

This commit is contained in:
Steve 2015-11-01 16:11:38 +00:00
parent 5b15aad266
commit 9debf3be56
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ void initTitle(void)
app.delegate.draw = &draw; app.delegate.draw = &draw;
memset(&app.keyboard, 0, sizeof(int) * MAX_KEYBOARD_KEYS); memset(&app.keyboard, 0, sizeof(int) * MAX_KEYBOARD_KEYS);
battle.camera.x = battle.camera.y = 0;
destroyBattle(); destroyBattle();
logo = getTexture("gfx/title/logo.png"); logo = getTexture("gfx/title/logo.png");