Set MIA to foreground when teleporting.

This commit is contained in:
Steve 2018-03-05 08:38:59 +00:00
parent 3a88c5163a
commit f720d9457c
1 changed files with 1 additions and 0 deletions

View File

@ -115,6 +115,7 @@ static void touch(Entity *other)
setGameplayMessage(MSG_OBJECTIVE, _("Rescued %s"), m->name); setGameplayMessage(MSG_OBJECTIVE, _("Rescued %s"), m->name);
m->isMissionTarget = 0; m->isMissionTarget = 0;
m->flags |= EF_ALWAYS_PROCESS; m->flags |= EF_ALWAYS_PROCESS;
m->plane = PLANE_FOREGROUND;
playSound(SND_MIA, m->uniqueId % MAX_SND_CHANNELS); playSound(SND_MIA, m->uniqueId % MAX_SND_CHANNELS);
} }
} }