mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Merge branch 'master' into sonicitems
This commit is contained in:
commit
a7ea4db50d
2 changed files with 10 additions and 7 deletions
|
|
@ -3539,7 +3539,7 @@ static void HandleConnect(SINT8 node)
|
||||||
#ifdef JOININGAME
|
#ifdef JOININGAME
|
||||||
if (nodewaiting[node])
|
if (nodewaiting[node])
|
||||||
{
|
{
|
||||||
if (newnode)
|
if (node && newnode)
|
||||||
{
|
{
|
||||||
SV_SendSaveGame(node); // send a complete game state
|
SV_SendSaveGame(node); // send a complete game state
|
||||||
DEBFILE("send savegame\n");
|
DEBFILE("send savegame\n");
|
||||||
|
|
|
||||||
|
|
@ -3397,14 +3397,17 @@ void P_SaveNetGame(void)
|
||||||
P_NetArchiveMisc();
|
P_NetArchiveMisc();
|
||||||
|
|
||||||
// Assign the mobjnumber for pointer tracking
|
// Assign the mobjnumber for pointer tracking
|
||||||
for (th = thinkercap.next; th != &thinkercap; th = th->next)
|
if (gamestate == GS_LEVEL)
|
||||||
{
|
{
|
||||||
if (th->function.acp1 == (actionf_p1)P_MobjThinker)
|
for (th = thinkercap.next; th != &thinkercap; th = th->next)
|
||||||
{
|
{
|
||||||
mobj = (mobj_t *)th;
|
if (th->function.acp1 == (actionf_p1)P_MobjThinker)
|
||||||
if (mobj->type == MT_HOOP || mobj->type == MT_HOOPCOLLIDE || mobj->type == MT_HOOPCENTER)
|
{
|
||||||
continue;
|
mobj = (mobj_t *)th;
|
||||||
mobj->mobjnum = i++;
|
if (mobj->type == MT_HOOP || mobj->type == MT_HOOPCOLLIDE || mobj->type == MT_HOOPCENTER)
|
||||||
|
continue;
|
||||||
|
mobj->mobjnum = i++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue