mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-18 02:21:47 +00:00
Merge branch 'colormap-overhaul' into colormap-overhaul-change-ldef
This commit is contained in:
commit
3ebd545523
1 changed files with 5 additions and 4 deletions
|
@ -606,9 +606,10 @@ static void P_NetUnArchiveColormaps(void)
|
|||
// dummy colormaps. Now that we are loading the color data,
|
||||
// set up the dummies.
|
||||
extracolormap_t *exc, *existing_exc, *exc_next = NULL;
|
||||
num_net_colormaps = READUINT32(save_p);
|
||||
UINT32 i = 0;
|
||||
|
||||
num_net_colormaps = READUINT32(save_p);
|
||||
|
||||
for (exc = net_colormaps; i < num_net_colormaps; i++, exc = exc_next)
|
||||
{
|
||||
UINT8 fadestart, fadeend, fog;
|
||||
|
@ -739,9 +740,6 @@ static void P_NetArchiveWorld(void)
|
|||
const side_t *si;
|
||||
UINT8 *put;
|
||||
|
||||
// initialize colormap vars because paranoia
|
||||
ClearNetColormaps();
|
||||
|
||||
// reload the map just to see difference
|
||||
mapsector_t *ms;
|
||||
mapsidedef_t *msd;
|
||||
|
@ -749,6 +747,9 @@ static void P_NetArchiveWorld(void)
|
|||
const sector_t *ss = sectors;
|
||||
UINT8 diff, diff2, diff3;
|
||||
|
||||
// initialize colormap vars because paranoia
|
||||
ClearNetColormaps();
|
||||
|
||||
WRITEUINT32(save_p, ARCHIVEBLOCK_WORLD);
|
||||
put = save_p;
|
||||
|
||||
|
|
Loading…
Reference in a new issue