mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 22:39:53 +00:00
sidescreen now requires screen ratio strictly greater than 4:3
This commit is contained in:
parent
788bc17452
commit
4d3f33deec
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user