From 253f5d14cf0e7c46bb07ee05ec796d073c498331 Mon Sep 17 00:00:00 2001 From: Dries Harnie Date: Sun, 18 Nov 2012 17:06:04 +0100 Subject: [PATCH] EMI: Fix text positioning [TinyGL] --- engines/grim/gfx_tinygl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/grim/gfx_tinygl.cpp b/engines/grim/gfx_tinygl.cpp index 601d9eba65a..54a455f6b4a 100644 --- a/engines/grim/gfx_tinygl.cpp +++ b/engines/grim/gfx_tinygl.cpp @@ -971,6 +971,9 @@ void GfxTinyGL::createTextObject(TextObject *text) { userData[j].x = text->getLineX(j); userData[j].y = text->getLineY(j); + if (g_grim->getGameType() == GType_MONKEY4) + userData[j].y -= font->getBaseOffsetY(); + delete[] _textBitmap; } }