mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove Landmine dust ring on explosion
This commit is contained in:
parent
d3c775a08d
commit
1adbfcff03
1 changed files with 0 additions and 13 deletions
|
|
@ -14143,7 +14143,6 @@ void A_LandMineExplode(mobj_t *actor)
|
|||
INT32 colour = SKINCOLOR_KETCHUP; // we spell words properly here
|
||||
INT32 i;
|
||||
mobj_t *smoldering;
|
||||
mobj_t *dust;
|
||||
|
||||
if (LUA_CallAction(A_LANDMINEEXPLODE, actor))
|
||||
return;
|
||||
|
|
@ -14161,18 +14160,6 @@ void A_LandMineExplode(mobj_t *actor)
|
|||
P_SetScale(smoldering, actor->scale);
|
||||
smoldering->tics = TICRATE*3;
|
||||
|
||||
// Spawn a ring:
|
||||
for (i = 0; i < 32; i++)
|
||||
{
|
||||
dust = P_SpawnMobj(actor->x, actor->y, actor->z, MT_SMOKE);
|
||||
P_SetMobjState(dust, S_OPAQUESMOKE1);
|
||||
dust->angle = (ANGLE_180/16) * i;
|
||||
P_SetScale(dust, actor->scale);
|
||||
dust->destscale = actor->scale*4;
|
||||
dust->scalespeed = actor->scale/4;
|
||||
P_InstaThrust(dust, dust->angle, FixedMul(20*FRACUNIT, actor->scale));
|
||||
}
|
||||
|
||||
actor->fuse = actor->tics; // disappear when this state ends.
|
||||
|
||||
// spawn a few physics explosions
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue