Set camera to 0,0 on title, to ensure effects appear in the correct places.
This commit is contained in:
parent
5b15aad266
commit
9debf3be56
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue