# HG changeset patch # User frosch # Date 2009-11-22 20:23:41 # Node ID 7bb86b38b6969c98765e0c862c52b442a0d68bbb # Parent 808895252b3dbffa59bc7921f999bd21abf4cbce (svn r18244) -Codechange: Make texteffects big font aware. diff --git a/src/texteff.cpp b/src/texteff.cpp --- a/src/texteff.cpp +++ b/src/texteff.cpp @@ -86,8 +86,8 @@ TextEffectID AddTextEffect(StringID msg, /* Start defining this object */ te->string_id = msg; te->duration = duration; - te->y = y - 5; - te->bottom = y + 5; + te->y = y - FONT_HEIGHT_NORMAL / 2; + te->bottom = y + FONT_HEIGHT_NORMAL / 2; te->params_1 = GetDParam(0); te->mode = mode;