Flag MIA as rescued immediately.
This commit is contained in:
parent
e923f3286e
commit
5828a660d3
|
@ -117,6 +117,8 @@ static void touch(Entity *other)
|
||||||
m->flags |= EF_ALWAYS_PROCESS;
|
m->flags |= EF_ALWAYS_PROCESS;
|
||||||
m->plane = PLANE_FOREGROUND;
|
m->plane = PLANE_FOREGROUND;
|
||||||
playSound(SND_MIA, m->uniqueId % MAX_SND_CHANNELS);
|
playSound(SND_MIA, m->uniqueId % MAX_SND_CHANNELS);
|
||||||
|
game.stats[STAT_MIAS_RESCUED]++;
|
||||||
|
updateObjective("MIA");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,8 +147,6 @@ static void teleport(void)
|
||||||
if (--m->teleportTimer <= 0)
|
if (--m->teleportTimer <= 0)
|
||||||
{
|
{
|
||||||
addTeleportStars(self);
|
addTeleportStars(self);
|
||||||
game.stats[STAT_MIAS_RESCUED]++;
|
|
||||||
updateObjective("MIA");
|
|
||||||
m->alive = ALIVE_DEAD;
|
m->alive = ALIVE_DEAD;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue