# HG changeset patch # User rubidium # Date 2012-03-25 19:23:59 # Node ID 0d171bdb01e5d1aab279ff1950030cf22c7a1e1f # Parent 5af5e99269303caee55d37ec960fae19a55be14b (svn r24066) -Change: do not redraw the text effect when nothing changed (Rhamphoryncus) diff --git a/src/texteff.cpp b/src/texteff.cpp --- a/src/texteff.cpp +++ b/src/texteff.cpp @@ -65,6 +65,7 @@ void UpdateTextEffect(TextEffectID te_id { /* 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);