mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix compiling errors, thanks to toaster.
This commit is contained in:
parent
7563e7be6f
commit
88ad1937d6
1 changed files with 2 additions and 2 deletions
|
|
@ -4607,7 +4607,7 @@ static void P_Boss3Thinker(mobj_t *mobj)
|
||||||
{
|
{
|
||||||
UINT8 i, numtospawn = 24;
|
UINT8 i, numtospawn = 24;
|
||||||
angle_t ang = 0, interval = FixedAngle((360 << FRACBITS) / numtospawn);
|
angle_t ang = 0, interval = FixedAngle((360 << FRACBITS) / numtospawn);
|
||||||
mobj_t *shock, *sfirst, *sprev;
|
mobj_t *shock, *sfirst, *sprev = NULL;
|
||||||
|
|
||||||
mobj->movecount = mobj->health+1;
|
mobj->movecount = mobj->health+1;
|
||||||
mobj->movefactor = -512*FRACUNIT;
|
mobj->movefactor = -512*FRACUNIT;
|
||||||
|
|
@ -4622,7 +4622,7 @@ static void P_Boss3Thinker(mobj_t *mobj)
|
||||||
if (i % 2 == 0)
|
if (i % 2 == 0)
|
||||||
P_SetMobjState(shock, shock->state->nextstate);
|
P_SetMobjState(shock, shock->state->nextstate);
|
||||||
|
|
||||||
if (i == 0)
|
if (!sprev)
|
||||||
sfirst = shock;
|
sfirst = shock;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue