From c24d6d3f4e534486739de2a9f1e4b0783f61d24e Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 22 Nov 2009 20:23:41 +0000 Subject: [PATCH] (svn r18244) -Codechange: Make texteffects big font aware. --- src/texteff.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/texteff.cpp b/src/texteff.cpp index 0f6bf526b9..c18c93ba72 100644 --- a/src/texteff.cpp +++ b/src/texteff.cpp @@ -86,8 +86,8 @@ TextEffectID AddTextEffect(StringID msg, int x, int y, uint16 duration, TextEffe /* 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;