mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Didn't properly use the #defined numangles constant.
This commit is contained in:
parent
f8dd9b64ab
commit
ec85357643
1 changed files with 1 additions and 1 deletions
|
@ -6222,7 +6222,7 @@ void P_ElementalFireTrail(player_t *player, boolean cropcircle)
|
|||
{
|
||||
travelangle = player->mo->angle + P_RandomRange(-ANGLE_45, ANGLE_45);
|
||||
#define numangles 8
|
||||
for (i = 0; i < 8; i++)
|
||||
for (i = 0; i < numangles; i++)
|
||||
{
|
||||
flame = P_SpawnMobj(player->mo->x, player->mo->y, ground, MT_AIRSPINFIRE);
|
||||
P_SetTarget(&flame->target, player->mo);
|
||||
|
|
Loading…
Reference in a new issue