Removed resumingMission field.

This commit is contained in:
Steve 2018-02-18 11:25:00 +00:00
parent 46d6ce1cd6
commit 25cf4f2814
3 changed files with 4 additions and 13 deletions

View File

@ -604,15 +604,12 @@ void resetAtCheckpoint(void)
changeSprite(walkSprite);
world.bob->environment = ENV_AIR;
if (!game.isResumingMission)
{
world.bob->immuneTimer = FPS * 2;
addTeleportStars((Entity*)world.bob);
if (world.state == WS_IN_PROGRESS)
{
playSound(SND_APPEAR, CH_ANY);
}
}
}
static void die(void)

View File

@ -366,7 +366,6 @@ typedef struct {
int totalKeys;
unsigned int stats[STAT_MAX];
char worldId[MAX_NAME_LENGTH];
int isResumingMission;
int isComplete;
Tuple keys[MAX_KEY_TYPES];
Tuple missionStatusHead, *missionStatusTail;

View File

@ -100,11 +100,6 @@ void initWorld(void)
playMusic(1);
}
if (!game.isResumingMission)
{
game.stats[STAT_MISSIONS_PLAYED]++;
}
world.bob->flags |= EF_GONE;
app.delegate.logic = logic;