Debt spikes set their fuse when they land

Another request from oni
This commit is contained in:
Sally Coolatta 2021-02-07 15:44:43 -05:00
parent 233d257791
commit 038dd17de3
2 changed files with 6 additions and 1 deletions

View file

@ -2240,6 +2240,6 @@ void P_PlayerRingBurst(player_t *player, INT32 num_rings)
while (i < num_rings)
{
P_FlingBurst(player, fa, z,
MT_DEBTSPIKE, 90, 3 * player->mo->scale / 2, i++);
MT_DEBTSPIKE, 0, 3 * player->mo->scale / 2, i++);
}
}

View file

@ -2296,6 +2296,11 @@ boolean P_ZMovement(mobj_t *mo)
{
mom.x = mom.y = 0;
mom.z = -mom.z/2;
if (mo->fuse == 0)
{
mo->fuse = 90;
}
}
else if (mo->flags & MF_MISSILE)
{