Remove info points if game is complete.
This commit is contained in:
parent
7f705a6641
commit
4d07b005f0
|
@ -52,6 +52,11 @@ Entity *initInfoPoint(void)
|
|||
static void init(void)
|
||||
{
|
||||
self->ty = self->y;
|
||||
|
||||
if (game.isComplete)
|
||||
{
|
||||
self->alive = ALIVE_DEAD;
|
||||
}
|
||||
}
|
||||
|
||||
static void tick(void)
|
||||
|
|
|
@ -26,5 +26,6 @@ extern Sprite *getSprite(char *name);
|
|||
extern void showInfoMessage(char *message);
|
||||
|
||||
extern Entity *self;
|
||||
extern Game game;
|
||||
extern World world;
|
||||
|
||||
|
|
Loading…
Reference in New Issue