diff --git a/wadsrc/static/zscript/ui/menu/conversationmenu.zs b/wadsrc/static/zscript/ui/menu/conversationmenu.zs index a7304a5841..c569ec193e 100644 --- a/wadsrc/static/zscript/ui/menu/conversationmenu.zs +++ b/wadsrc/static/zscript/ui/menu/conversationmenu.zs @@ -155,10 +155,9 @@ class ConversationMenu : Menu } else { - let formatWidth = Screen.GetHeight() * 1.3333; - SpeechWidth = formatWidth / fontScale - (24*3 * CleanXfac / fontScale); + speechDisplayWidth = int(Screen.GetHeight() * 1.3333 / fontScale); + SpeechWidth = speechDisplayWidth - (24*3 * CleanXfac / fontScale); mConfineTextToBackdrop = true; - speechDisplayWidth = formatWidth / fontScale; } LineHeight = displayFont.GetHeight() + 2;