(svn r24066) -Change: do not redraw the text effect when nothing changed (Rhamphoryncus)

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
rubidium 12 years ago
parent 927734e6ce
commit 6db0753a46

@ -65,6 +65,7 @@ void UpdateTextEffect(TextEffectID te_id, StringID msg)
{
/* Update details */
TextEffect *te = _text_effects.Get(te_id);
if (msg == te->string_id && GetDParam(0) == te->params_1) return;
te->string_id = msg;
te->params_1 = GetDParam(0);

Loading…
Cancel
Save