From 0e57fc557253cf851e86508148216986b239fc7a Mon Sep 17 00:00:00 2001 From: Marisa the Magician Date: Sat, 24 Aug 2024 21:16:37 +0200 Subject: [PATCH] Fix "level finished" box going offscreen when maps have author names set. (The extra 32px padding was NOT needed, after all) --- language.version | 4 ++-- zscript/menu/swwm_inter.zsc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/language.version b/language.version index 37d7296fb..56e9a639e 100644 --- a/language.version +++ b/language.version @@ -1,3 +1,3 @@ [default] -SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1143 \cu(Sat Aug 24 15:03:05 CEST 2024)\c-"; -SWWM_SHORTVER="\cw1.3pre r1143 \cu(2024-08-24 15:03:05)\c-"; +SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1145 \cu(Sat Aug 24 21:17:38 CEST 2024)\c-"; +SWWM_SHORTVER="\cw1.3pre r1145 \cu(2024-08-24 21:17:38)\c-"; diff --git a/zscript/menu/swwm_inter.zsc b/zscript/menu/swwm_inter.zsc index dc1020ca8..d10b0de48 100644 --- a/zscript/menu/swwm_inter.zsc +++ b/zscript/menu/swwm_inter.zsc @@ -72,7 +72,7 @@ Class SWWMStatScreen : StatusScreen int statheight = TewiFont.GetHeight()*(8+(!!wbs.partime)+(wbs.totaltime!=Plrs[me].stime))+32; int lfheight = (authortexts[0]!="")?(MiniwiFont.GetHeight()+TewiFont.GetHeight()*2+TewiFontOutline.GetHeight()*2):(TewiFont.GetHeight()*2+TewiFontOutline.GetHeight()*2); int elheight = (wbs.next=="")?0:((authortexts[1]!="")?(MiniwiFont.GetHeight()+TewiFont.GetHeight()*2+TewiFontOutline.GetHeight()*2):(TewiFont.GetHeight()*2+TewiFontOutline.GetHeight()*2)); - topheight = (statheight+lfheight+elheight+32); + topheight = (statheight+lfheight+elheight); mtipheight = (5*TewiFont.GetHeight()+32); // tips don't generally go past 5 lines in height // defaults lnamecolor = Font.CR_WHITE;