------------------------------------------------------------------------ r2016 | terminx | 2011-09-11 23:25:50 -0700 (Sun, 11 Sep 2011) | 2 lines Add a couple of missed sanity checks for accessing player and sprite structure members as vars. Should fix crashes with stuff like "ifvare player[some value greater than MAXPLAYERS].kickback_pic blah" ------------------------------------------------------------------------ r2015 | helixhorned | 2011-09-10 08:45:11 -0700 (Sat, 10 Sep 2011) | 4 lines engine: In setbrightness() and qsetmodeany(), call setpalette() only if the palette changed from the last one (either globally or within the last call of one of the function). This fixes the ugly OSD flickering in 8-bit mode when a screen tint effect is in action (such as when being hurt or snotted on). ------------------------------------------------------------------------