mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-20 18:01:16 +00:00
Bowser isn't a boss, so don't call A_BossDeath just to do that one thing it needs to do
This commit is contained in:
parent
c550de5dfa
commit
a14eacd63a
2 changed files with 2 additions and 6 deletions
|
@ -4178,10 +4178,6 @@ void A_BossDeath(mobj_t *mo)
|
|||
case MT_CYBRAKDEMON:
|
||||
P_DoCybrakdemonDeath(mo);
|
||||
break;
|
||||
case MT_KOOPA:
|
||||
if (mo->spawnpoint)
|
||||
EV_DoCeiling(mo->spawnpoint->args[0], NULL, raiseToHighest);
|
||||
break;
|
||||
case MT_FANG:
|
||||
P_DoBoss5Death(mo);
|
||||
break;
|
||||
|
|
|
@ -6939,7 +6939,6 @@ static void P_RemoveOverlay(mobj_t *thing)
|
|||
}
|
||||
}
|
||||
|
||||
void A_BossDeath(mobj_t *mo);
|
||||
// AI for the Koopa boss.
|
||||
static void P_KoopaThinker(mobj_t *koopa)
|
||||
{
|
||||
|
@ -6947,7 +6946,8 @@ static void P_KoopaThinker(mobj_t *koopa)
|
|||
|
||||
if (koopa->watertop > koopa->z + koopa->height + FixedMul(128*FRACUNIT, koopa->scale) && koopa->health > 0)
|
||||
{
|
||||
A_BossDeath(koopa);
|
||||
if (koopa->spawnpoint)
|
||||
EV_DoCeiling(koopa->spawnpoint->args[0], NULL, raiseToHighest);
|
||||
P_RemoveMobj(koopa);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue