Move components offscreen to begin with, so the engine effects don't jump.

This commit is contained in:
Steve 2016-05-31 09:13:17 +01:00
parent 5d5c19a62d
commit c8b6ddd978
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ Entity *spawnCapitalShip(char *name, int x, int y, int side)
else else
{ {
e->owner = capitalShip; e->owner = capitalShip;
e->x = -SCREEN_WIDTH;
e->y = -SCREEN_HEIGHT;
} }
} }
} }