mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-14 08:50:53 +00:00
Adjust default alpha value to 255 in UDMF setup
This commit is contained in:
parent
55d257266d
commit
e08b4b31a2
1 changed files with 4 additions and 4 deletions
|
@ -2717,11 +2717,11 @@ static void P_WriteTextmap(void)
|
|||
|
||||
if (lightcolor != 0)
|
||||
fprintf(f, "lightcolor = %d;\n", lightcolor);
|
||||
if (lightalpha != 25)
|
||||
if (lightalpha != 255)
|
||||
fprintf(f, "lightalpha = %d;\n", lightalpha);
|
||||
if (fadecolor != 0)
|
||||
fprintf(f, "fadecolor = %d;\n", fadecolor);
|
||||
if (fadealpha != 25)
|
||||
if (fadealpha != 255)
|
||||
fprintf(f, "fadealpha = %d;\n", fadealpha);
|
||||
if (wsectors[i].extra_colormap->fadestart != 0)
|
||||
fprintf(f, "fadestart = %d;\n", wsectors[i].extra_colormap->fadestart);
|
||||
|
@ -2961,9 +2961,9 @@ static void P_LoadTextmap(void)
|
|||
|
||||
textmap_colormap.used = false;
|
||||
textmap_colormap.lightcolor = 0;
|
||||
textmap_colormap.lightalpha = 25;
|
||||
textmap_colormap.lightalpha = 255;
|
||||
textmap_colormap.fadecolor = 0;
|
||||
textmap_colormap.fadealpha = 25;
|
||||
textmap_colormap.fadealpha = 255;
|
||||
textmap_colormap.fadestart = 0;
|
||||
textmap_colormap.fadeend = 31;
|
||||
textmap_colormap.flags = 0;
|
||||
|
|
Loading…
Reference in a new issue