From c8b6ddd978398c2399879c438ff958d9f4c0f08c Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 31 May 2016 09:13:17 +0100 Subject: [PATCH] Move components offscreen to begin with, so the engine effects don't jump. --- src/battle/capitalShips.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle/capitalShips.c b/src/battle/capitalShips.c index 7e3c1c4..0075fb6 100644 --- a/src/battle/capitalShips.c +++ b/src/battle/capitalShips.c @@ -67,6 +67,8 @@ Entity *spawnCapitalShip(char *name, int x, int y, int side) else { e->owner = capitalShip; + e->x = -SCREEN_WIDTH; + e->y = -SCREEN_HEIGHT; } } }