1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-20 12:20:01 +00:00

sidescreen now requires screen ratio strictly greater than 4:3

This commit is contained in:
Zeno Rogue 2018-12-13 17:03:13 +01:00
parent 788bc17452
commit 4d3f33deec

View File

@ -5518,7 +5518,7 @@ void calcparam() {
cd->ycenter = vid.yres - cd->scrsize - vid.fsize;
}
else {
if(vid.xres >= vid.yres * 5/4-16 && (cmode & sm::SIDE))
if(vid.xres > vid.yres * 4/3+16 && (cmode & sm::SIDE))
current_display->sidescreen = true;
#if CAP_TOUR
if(tour::on && (tour::slides[tour::currentslide].flags & tour::SIDESCREEN))