UFO conveyance fixes

This commit is contained in:
AJ Martinez 2024-01-14 17:58:03 -07:00
parent 516e418912
commit 36dd4e171d
2 changed files with 3 additions and 1 deletions

View file

@ -5637,6 +5637,7 @@ typedef struct
void clear()
{
messages.clear();
switch_mode(MM_IN);
}
void switch_mode(messagemode_t nextmode)
@ -5651,7 +5652,7 @@ typedef struct
return;
if (timer == 0 && mode == MM_IN)
S_StartSound(NULL, sfx_cdfm15);
S_StartSound(NULL, sfx_s3k47);
timer++;

View file

@ -116,6 +116,7 @@ public:
Spawner* spawner = next(g_battleufo.previousId);
UFO* ufo = static_cast<UFO*>(P_SpawnMobjFromMobj(spawner, 0, 0, 250*FRACUNIT - ofs, MT_BATTLEUFO));
K_AddMessage(va("Crack the Combat UFO!"), true);
S_StartSound(NULL, sfx_mbs54);
ufo->sprzoff(ofs * spawner->scale());