mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 21:50:48 +00:00
Merge branch 'uncap-palettes' into 'next'
Uncap palette lump palettes & allow flashpal palettes to display during pause See merge request STJr/SRB2!1255
This commit is contained in:
commit
6d6eb79226
1 changed files with 1 additions and 5 deletions
|
@ -203,9 +203,7 @@ void ST_doPaletteStuff(void)
|
|||
{
|
||||
INT32 palette;
|
||||
|
||||
if (paused || P_AutoPause())
|
||||
palette = 0;
|
||||
else if (stplyr && stplyr->flashcount)
|
||||
if (stplyr && stplyr->flashcount)
|
||||
palette = stplyr->flashpal;
|
||||
else
|
||||
palette = 0;
|
||||
|
@ -215,8 +213,6 @@ void ST_doPaletteStuff(void)
|
|||
palette = 0; // No flashpals here in OpenGL
|
||||
#endif
|
||||
|
||||
palette = min(max(palette, 0), 13);
|
||||
|
||||
if (palette != st_palette)
|
||||
{
|
||||
st_palette = palette;
|
||||
|
|
Loading…
Reference in a new issue