1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-09 23:49:53 +00:00

fixed PTM title line covering the statistics of the top land in high resolution

This commit is contained in:
Zeno Rogue 2024-07-27 21:57:58 +02:00
parent 6659cc648d
commit a07ac62e7d

View File

@ -852,7 +852,7 @@ EX namespace tactic {
int nlm = nl;
int ofs = dialog::infix != "" ? 0 : dialog::handlePage(nl, nlm, (nl+1)/2);
int vf = nlm ? min((vid.yres-64-vid.fsize) / nlm, vid.xres/40) : vid.xres/40;
int vf = nlm ? min((vid.yres-4*vid.fsize) / (nlm+1), vid.xres/40) : vid.xres/40;
int xr = vid.xres / 64;
@ -866,7 +866,7 @@ EX namespace tactic {
int i1 = i + ofs;
eLand l = landlist[i1];
int i0 = 56 + i * vf;
int i0 = 2 * vid.fsize + (i+1) * vf;
color_t col;
int ch = chances(l);