mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 03:48:43 +00:00
(svn r18244) -Codechange: Make texteffects big font aware.
This commit is contained in:
parent
4661abd33b
commit
c24d6d3f4e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user