From 7fc0d5b051b98908a27842f731c09f4c9ed07c9d Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 6 Apr 2020 08:46:32 +0200 Subject: [PATCH] less awkward map position in portrait --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index a665ec86..f722c356 100644 --- a/graph.cpp +++ b/graph.cpp @@ -4768,7 +4768,7 @@ EX void calcparam() { current_display->sidescreen = permaside; if(vid.xres < vid.yres - 2 * vid.fsize && !inHighQual && !in_perspective()) { - cd->ycenter = vid.yres - cd->scrsize - vid.fsize; + cd->ycenter = lerp(vid.fsize + cd->scrsize, vid.yres - cd->scrsize - vid.fsize, .8); } else { if(vid.xres > vid.yres * 4/3+16 && (cmode & sm::SIDE))