From 059ba3c540d8b40bd65ccbf4efe546147f792a80 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 16 May 2016 10:55:13 +0100 Subject: [PATCH] Measure Pandoran font properly. --- src/battle/messageBox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle/messageBox.c b/src/battle/messageBox.c index d0469e8..e7e3d99 100644 --- a/src/battle/messageBox.c +++ b/src/battle/messageBox.c @@ -95,7 +95,7 @@ static void calculateMessageBoxHeight(MessageBox *msg) { limitTextWidth(575); - msg->height = getWrappedTextHeight(msg->body, 18); + msg->height = getWrappedTextHeight(msg->body, (msg->type == MB_PANDORAN) ? 0 : 18); limitTextWidth(0); }