mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
UFO conveyance fixes
This commit is contained in:
parent
516e418912
commit
36dd4e171d
2 changed files with 3 additions and 1 deletions
|
|
@ -5637,6 +5637,7 @@ typedef struct
|
||||||
void clear()
|
void clear()
|
||||||
{
|
{
|
||||||
messages.clear();
|
messages.clear();
|
||||||
|
switch_mode(MM_IN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void switch_mode(messagemode_t nextmode)
|
void switch_mode(messagemode_t nextmode)
|
||||||
|
|
@ -5651,7 +5652,7 @@ typedef struct
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (timer == 0 && mode == MM_IN)
|
if (timer == 0 && mode == MM_IN)
|
||||||
S_StartSound(NULL, sfx_cdfm15);
|
S_StartSound(NULL, sfx_s3k47);
|
||||||
|
|
||||||
timer++;
|
timer++;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,7 @@ public:
|
||||||
Spawner* spawner = next(g_battleufo.previousId);
|
Spawner* spawner = next(g_battleufo.previousId);
|
||||||
UFO* ufo = static_cast<UFO*>(P_SpawnMobjFromMobj(spawner, 0, 0, 250*FRACUNIT - ofs, MT_BATTLEUFO));
|
UFO* ufo = static_cast<UFO*>(P_SpawnMobjFromMobj(spawner, 0, 0, 250*FRACUNIT - ofs, MT_BATTLEUFO));
|
||||||
K_AddMessage(va("Crack the Combat UFO!"), true);
|
K_AddMessage(va("Crack the Combat UFO!"), true);
|
||||||
|
S_StartSound(NULL, sfx_mbs54);
|
||||||
|
|
||||||
ufo->sprzoff(ofs * spawner->scale());
|
ufo->sprzoff(ofs * spawner->scale());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue