mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-07 10:34:48 +00:00
Remove old tag list netgame packing/unpacking.
This commit is contained in:
parent
9eb17e4104
commit
7c11091c40
1 changed files with 0 additions and 12 deletions
|
@ -851,8 +851,6 @@ static void P_NetArchiveWorld(void)
|
|||
|
||||
if (!Tag_Compare(&ss->tags, &spawnss->tags))
|
||||
diff2 |= SD_TAG;
|
||||
if (ss->nexttag != spawnss->nexttag || ss->firsttag != spawnss->firsttag)
|
||||
diff3 |= SD_TAGLIST;
|
||||
|
||||
if (ss->extra_colormap != spawnss->extra_colormap)
|
||||
diff3 |= SD_COLORMAP;
|
||||
|
@ -918,11 +916,6 @@ static void P_NetArchiveWorld(void)
|
|||
for (j = 0; j < ss->tags.count; j++)
|
||||
WRITEINT16(put, ss->tags.tags[j]);
|
||||
}
|
||||
if (diff3 & SD_TAGLIST) // save both firsttag and nexttag
|
||||
{ // either of these could be changed even if tag isn't
|
||||
WRITEINT32(put, ss->firsttag);
|
||||
WRITEINT32(put, ss->nexttag);
|
||||
}
|
||||
|
||||
if (diff3 & SD_COLORMAP)
|
||||
WRITEUINT32(put, CheckAddNetColormapToList(ss->extra_colormap));
|
||||
|
@ -1165,11 +1158,6 @@ static void P_NetUnArchiveWorld(void)
|
|||
for (j = 0; j < ncount; j++)
|
||||
sectors[i].tags.tags[j] = READINT16(get);
|
||||
}
|
||||
if (diff3 & SD_TAGLIST)
|
||||
{
|
||||
sectors[i].firsttag = READINT32(get);
|
||||
sectors[i].nexttag = READINT32(get);
|
||||
}
|
||||
|
||||
if (diff3 & SD_COLORMAP)
|
||||
sectors[i].extra_colormap = GetNetColormapFromList(READUINT32(get));
|
||||
|
|
Loading…
Reference in a new issue