mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 19:38:06 -04:00
move ST_doPaletteStuff() from ST_Drawer() to ST_Ticker() (#791)
Thanks @JNechaevsky
This commit is contained in:
parent
473febad55
commit
7e6d90c01a
@ -779,12 +779,16 @@ void ST_updateWidgets(void)
|
||||
|
||||
}
|
||||
|
||||
void ST_doPaletteStuff(void);
|
||||
|
||||
void ST_Ticker(void)
|
||||
{
|
||||
st_clock++;
|
||||
st_randomnumber = M_Random();
|
||||
ST_updateWidgets();
|
||||
st_oldhealth = plyr->health;
|
||||
|
||||
ST_doPaletteStuff(); // Do red-/gold-shifts from damage/items
|
||||
}
|
||||
|
||||
static int st_palette = 0;
|
||||
@ -977,8 +981,6 @@ void ST_Drawer(boolean fullscreen, boolean refresh)
|
||||
|
||||
ST_MoveHud();
|
||||
|
||||
ST_doPaletteStuff(); // Do red-/gold-shifts from damage/items
|
||||
|
||||
if (st_firsttime)
|
||||
ST_doRefresh(); // If just after ST_Start(), refresh all
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user