Revision r2015
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). ------------------------------------------------------------------------