mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Fixed a netgame crash that was caused by a closing brace being in the wrong place :v
This commit is contained in:
parent
c3fb7f4332
commit
c1dcefcc9a
1 changed files with 13 additions and 13 deletions
|
|
@ -3612,21 +3612,21 @@ static void P_NetUnArchiveThinkers(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
CONS_Debug(DBG_NETPLAY, "%u thinkers loaded in list %d\n", numloaded, i);
|
CONS_Debug(DBG_NETPLAY, "%u thinkers loaded in list %d\n", numloaded, i);
|
||||||
}
|
|
||||||
|
|
||||||
if (restoreNum)
|
if (restoreNum)
|
||||||
{
|
|
||||||
executor_t *delay = NULL;
|
|
||||||
UINT32 mobjnum;
|
|
||||||
for (currentthinker = thlist[i].next; currentthinker != &thlist[i];
|
|
||||||
currentthinker = currentthinker->next)
|
|
||||||
{
|
{
|
||||||
if (currentthinker->function.acp1 != (actionf_p1)T_ExecutorDelay)
|
executor_t *delay = NULL;
|
||||||
continue;
|
UINT32 mobjnum;
|
||||||
delay = (void *)currentthinker;
|
for (currentthinker = thlist[i].next; currentthinker != &thlist[i];
|
||||||
if (!(mobjnum = (UINT32)(size_t)delay->caller))
|
currentthinker = currentthinker->next)
|
||||||
continue;
|
{
|
||||||
delay->caller = P_FindNewPosition(mobjnum);
|
if (currentthinker->function.acp1 != (actionf_p1)T_ExecutorDelay)
|
||||||
|
continue;
|
||||||
|
delay = (void *)currentthinker;
|
||||||
|
if (!(mobjnum = (UINT32)(size_t)delay->caller))
|
||||||
|
continue;
|
||||||
|
delay->caller = P_FindNewPosition(mobjnum);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue