Initialize junk line tag lists
This commit is contained in:
parent
eef3028110
commit
9770368ee9
|
@ -3924,6 +3924,10 @@ void A_BossDeath(mobj_t *mo)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Initialize my junk
|
||||||
|
junk.tags.tags = NULL;
|
||||||
|
junk.tags.count = 0;
|
||||||
|
|
||||||
// Bring the egg trap up to the surface
|
// Bring the egg trap up to the surface
|
||||||
// Incredibly shitty code ahead
|
// Incredibly shitty code ahead
|
||||||
Tag_FSet(&junk.tags, LE_CAPSULE0);
|
Tag_FSet(&junk.tags, LE_CAPSULE0);
|
||||||
|
@ -4053,6 +4057,10 @@ bossjustdie:
|
||||||
}
|
}
|
||||||
case MT_KOOPA:
|
case MT_KOOPA:
|
||||||
{
|
{
|
||||||
|
// Initialize my junk
|
||||||
|
junk.tags.tags = NULL;
|
||||||
|
junk.tags.count = 0;
|
||||||
|
|
||||||
Tag_FSet(&junk.tags, LE_KOOPA);
|
Tag_FSet(&junk.tags, LE_KOOPA);
|
||||||
EV_DoCeiling(&junk, raiseToHighest);
|
EV_DoCeiling(&junk, raiseToHighest);
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -1388,6 +1388,10 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
|
||||||
if (player->bot)
|
if (player->bot)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Initialize my junk
|
||||||
|
junk.tags.tags = NULL;
|
||||||
|
junk.tags.count = 0;
|
||||||
|
|
||||||
Tag_FSet(&junk.tags, LE_AXE);
|
Tag_FSet(&junk.tags, LE_AXE);
|
||||||
EV_DoElevator(&junk, bridgeFall, false);
|
EV_DoElevator(&junk, bridgeFall, false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue