Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
katsy
SRB2
Commits
fe3a201d
Commit
fe3a201d
authored
Jan 13, 2022
by
katsy
Browse files
fix oldringexplode not scaling or flipping
parent
93512ae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/p_enemy.c
View file @
fe3a201d
...
...
@@ -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_SpawnMobj
FromMobj(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_SpawnMobj
FromMobj(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_SpawnMobj
FromMobj(actor, 0, 0, 0
, locvar1);
P_SetTarget(&mo->target, actor->target);
mo->momz = -ns;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment