diff options
Diffstat (limited to 'texteff.c')
-rw-r--r-- | texteff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -246,7 +246,7 @@ void AddTextEffect(StringID msg, int x, int y, uint16 duration) te->params_1 = GetDParam(0); te->params_2 = GetDParam(4); - GetString(buffer, msg); + GetString(buffer, msg, lastof(buffer)); w = GetStringBoundingBox(buffer).width; te->x = x - (w >> 1); |