Changeset - r19178:0d171bdb01e5
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2012-03-25 19:23:59
rubidium@openttd.org
(svn r24066) -Change: do not redraw the text effect when nothing changed (Rhamphoryncus)
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/texteff.cpp
Show inline comments
 
@@ -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);
 

	
0 comments (0 inline, 0 general)