mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Merge branch 'newoldringexplode' into 'next'
Fix A_OldRingExplode not scaling or flipping See merge request STJr/SRB2!1709
This commit is contained in:
commit
547b08df2f
1 changed files with 3 additions and 3 deletions
|
@ -6542,7 +6542,7 @@ void A_OldRingExplode(mobj_t *actor) {
|
|||
{
|
||||
const angle_t fa = (i*FINEANGLES/16) & FINEMASK;
|
||||
|
||||
mo = P_SpawnMobj(actor->x, actor->y, actor->z, locvar1);
|
||||
mo = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1);
|
||||
P_SetTarget(&mo->target, actor->target); // Transfer target so player gets the points
|
||||
|
||||
mo->momx = FixedMul(FINECOSINE(fa),ns);
|
||||
|
@ -6568,7 +6568,7 @@ void A_OldRingExplode(mobj_t *actor) {
|
|||
}
|
||||
}
|
||||
|
||||
mo = P_SpawnMobj(actor->x, actor->y, actor->z, locvar1);
|
||||
mo = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1);
|
||||
|
||||
P_SetTarget(&mo->target, actor->target);
|
||||
mo->momz = ns;
|
||||
|
@ -6583,7 +6583,7 @@ void A_OldRingExplode(mobj_t *actor) {
|
|||
mo->color = skincolor_bluering;
|
||||
}
|
||||
|
||||
mo = P_SpawnMobj(actor->x, actor->y, actor->z, locvar1);
|
||||
mo = P_SpawnMobjFromMobj(actor, 0, 0, 0, locvar1);
|
||||
|
||||
P_SetTarget(&mo->target, actor->target);
|
||||
mo->momz = -ns;
|
||||
|
|
Loading…
Reference in a new issue