mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 23:34:15 +00:00
(svn r24066) -Change: do not redraw the text effect when nothing changed (Rhamphoryncus)
This commit is contained in:
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…
Reference in New Issue
Block a user