mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 13:40:45 +00:00
Fix mixed code-and-declaration error
This commit is contained in:
parent
6cf82fbb43
commit
794235a848
1 changed files with 2 additions and 1 deletions
|
@ -1495,6 +1495,7 @@ void Polyobj_InitLevel(void)
|
||||||
mqueue_t anchorqueue;
|
mqueue_t anchorqueue;
|
||||||
mobjqitem_t *qitem;
|
mobjqitem_t *qitem;
|
||||||
INT32 i, numAnchors = 0;
|
INT32 i, numAnchors = 0;
|
||||||
|
mobj_t *mo;
|
||||||
|
|
||||||
M_QueueInit(&spawnqueue);
|
M_QueueInit(&spawnqueue);
|
||||||
M_QueueInit(&anchorqueue);
|
M_QueueInit(&anchorqueue);
|
||||||
|
@ -1513,7 +1514,7 @@ void Polyobj_InitLevel(void)
|
||||||
if (th->function.acp1 == (actionf_p1)P_RemoveThinkerDelayed)
|
if (th->function.acp1 == (actionf_p1)P_RemoveThinkerDelayed)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
mobj_t *mo = (mobj_t *)th;
|
mo = (mobj_t *)th;
|
||||||
|
|
||||||
if (mo->info->doomednum == POLYOBJ_SPAWN_DOOMEDNUM ||
|
if (mo->info->doomednum == POLYOBJ_SPAWN_DOOMEDNUM ||
|
||||||
mo->info->doomednum == POLYOBJ_SPAWNCRUSH_DOOMEDNUM)
|
mo->info->doomednum == POLYOBJ_SPAWNCRUSH_DOOMEDNUM)
|
||||||
|
|
Loading…
Reference in a new issue