summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/texteff.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp
index 32062fc1b..3ce40ce2f 100644
--- a/src/texteff.cpp
+++ b/src/texteff.cpp
@@ -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);