mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 23:31:50 +00:00
Write/read FOF flags as 32-bit not 16-bit, whoops
This commit is contained in:
parent
7830a9e27b
commit
f96b830f36
1 changed files with 2 additions and 2 deletions
|
@ -613,7 +613,7 @@ static void P_NetArchiveWorld(void)
|
|||
WRITEUINT16(put, j); // save ffloor "number"
|
||||
WRITEUINT8(put, fflr_diff);
|
||||
if (fflr_diff & 1)
|
||||
WRITEUINT16(put, rover->flags);
|
||||
WRITEUINT32(put, rover->flags);
|
||||
if (fflr_diff & 2)
|
||||
WRITEINT16(put, rover->alpha);
|
||||
}
|
||||
|
@ -815,7 +815,7 @@ static void P_NetUnArchiveWorld(void)
|
|||
fflr_diff = READUINT8(get);
|
||||
|
||||
if (fflr_diff & 1)
|
||||
rover->flags = READUINT16(get);
|
||||
rover->flags = READUINT32(get);
|
||||
if (fflr_diff & 2)
|
||||
rover->alpha = READINT16(get);
|
||||
|
||||
|
|
Loading…
Reference in a new issue