Test Fix
This commit is contained in:
parent
9cf5b4e79f
commit
bd5ebef91a
1 changed files with 10 additions and 10 deletions
|
|
@ -229,11 +229,6 @@ static void P_NetArchivePlayers(savebuffer_t *save)
|
|||
if (flags & FOLLOWER)
|
||||
WRITEUINT32(save->p, players[i].follower->mobjnum);
|
||||
|
||||
for (j = 0; j < NUMPOWERS; j++)
|
||||
WRITEUINT16(save->p, players[i].powers[j]);
|
||||
for (j = 0; j < NUMKARTSTUFF; j++)
|
||||
WRITEINT32(save->p, players[i].kartstuff[j]);
|
||||
|
||||
WRITEUINT16(save->p, players[i].nocontrol);
|
||||
WRITEUINT8(save->p, players[i].carry);
|
||||
WRITEUINT16(save->p, players[i].dye);
|
||||
|
|
@ -432,6 +427,11 @@ static void P_NetArchivePlayers(savebuffer_t *save)
|
|||
// Fix janky landing particle
|
||||
WRITEUINT8(save->p, players[i].prevonground);
|
||||
|
||||
for (j = 0; j < NUMPOWERS; j++)
|
||||
WRITEUINT16(save->p, players[i].powers[j]);
|
||||
for (j = 0; j < NUMKARTSTUFF; j++)
|
||||
WRITEINT32(save->p, players[i].kartstuff[j]);
|
||||
|
||||
}
|
||||
TracyCZoneEnd(__zone);
|
||||
}
|
||||
|
|
@ -566,11 +566,6 @@ static void P_NetUnArchivePlayers(savebuffer_t *save)
|
|||
if (flags & FOLLOWER)
|
||||
players[i].follower = (mobj_t *)(size_t)READUINT32(save->p);
|
||||
|
||||
for (j = 0; j < NUMPOWERS; j++)
|
||||
players[i].powers[j] = READUINT16(save->p);
|
||||
for (j = 0; j < NUMKARTSTUFF; j++)
|
||||
players[i].kartstuff[j] = READINT32(save->p);
|
||||
|
||||
players[i].nocontrol = READUINT16(save->p);
|
||||
players[i].carry = READUINT8(save->p);
|
||||
players[i].dye = READUINT16(save->p);
|
||||
|
|
@ -771,6 +766,11 @@ static void P_NetUnArchivePlayers(savebuffer_t *save)
|
|||
// Fix janky landing particle
|
||||
players[i].prevonground = READUINT8(save->p);
|
||||
|
||||
for (j = 0; j < NUMPOWERS; j++)
|
||||
players[i].powers[j] = READUINT16(save->p);
|
||||
for (j = 0; j < NUMKARTSTUFF; j++)
|
||||
players[i].kartstuff[j] = READINT32(save->p);
|
||||
|
||||
//players[i].viewheight = P_GetPlayerViewHeight(players[i]); // scale cannot be factored in at this point
|
||||
}
|
||||
TracyCZoneEnd(__zone);
|
||||
|
|
|
|||
Loading…
Reference in a new issue