Set MIA to foreground when teleporting.
This commit is contained in:
parent
3a88c5163a
commit
f720d9457c
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue