From 9debf3be563881f8b1862d314a36b0d12c5f5c92 Mon Sep 17 00:00:00 2001 From: Steve Date: Sun, 1 Nov 2015 16:11:38 +0000 Subject: [PATCH] Set camera to 0,0 on title, to ensure effects appear in the correct places. --- src/game/title.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/title.c b/src/game/title.c index 1648d66..7ead082 100644 --- a/src/game/title.c +++ b/src/game/title.c @@ -51,6 +51,8 @@ void initTitle(void) app.delegate.draw = &draw; memset(&app.keyboard, 0, sizeof(int) * MAX_KEYBOARD_KEYS); + battle.camera.x = battle.camera.y = 0; + destroyBattle(); logo = getTexture("gfx/title/logo.png");