mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
Fix compiling errors, thanks to toaster.
This commit is contained in:
parent
264c60fb70
commit
bc128dffdc
1 changed files with 2 additions and 2 deletions
|
@ -4607,7 +4607,7 @@ static void P_Boss3Thinker(mobj_t *mobj)
|
|||
{
|
||||
UINT8 i, numtospawn = 24;
|
||||
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->movefactor = -512*FRACUNIT;
|
||||
|
@ -4622,7 +4622,7 @@ static void P_Boss3Thinker(mobj_t *mobj)
|
|||
if (i % 2 == 0)
|
||||
P_SetMobjState(shock, shock->state->nextstate);
|
||||
|
||||
if (i == 0)
|
||||
if (!sprev)
|
||||
sfirst = shock;
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue