diff options
author | frosch <frosch@openttd.org> | 2009-11-22 20:23:41 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-11-22 20:23:41 +0000 |
commit | c24d6d3f4e534486739de2a9f1e4b0783f61d24e (patch) | |
tree | 9e468aa471700c4b7eda0be3c94b63496f072f7a /src | |
parent | 4661abd33b27a63b88083fcf833e76ad057b1719 (diff) | |
download | openttd-c24d6d3f4e534486739de2a9f1e4b0783f61d24e.tar.xz |
(svn r18244) -Codechange: Make texteffects big font aware.
Diffstat (limited to 'src')
-rw-r--r-- | src/texteff.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp index 0f6bf526b..c18c93ba7 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; |