Don't check spawners if player is dead.
This commit is contained in:
parent
612e76fe04
commit
1fbf31e56c
|
@ -141,8 +141,6 @@ static void doBattle(void)
|
||||||
doStars(ssx, ssy);
|
doStars(ssx, ssy);
|
||||||
|
|
||||||
doBullets();
|
doBullets();
|
||||||
|
|
||||||
doSpawners();
|
|
||||||
|
|
||||||
doEntities();
|
doEntities();
|
||||||
|
|
||||||
|
@ -154,6 +152,8 @@ static void doBattle(void)
|
||||||
|
|
||||||
if (player != NULL)
|
if (player != NULL)
|
||||||
{
|
{
|
||||||
|
doSpawners();
|
||||||
|
|
||||||
doLocations();
|
doLocations();
|
||||||
|
|
||||||
doMessageBox();
|
doMessageBox();
|
||||||
|
|
Loading…
Reference in New Issue