1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-26 07:03:19 +00:00

fixed history band render

This commit is contained in:
Zeno Rogue 2019-12-27 01:19:37 +01:00
parent 2b154edbdb
commit 3f69ffa58c

View File

@ -414,7 +414,7 @@ EX namespace history {
hyperpoint hscr; hyperpoint hscr;
applymodel(last, hscr); applymodel(last, hscr);
ld bwidth = -current_display->radius * hscr[0]; ld bwidth = -current_display->radius * hscr[0];
print(hlog, "bwidth = ", bwidth, "/", len); println(hlog, "bwidth = ", bwidth, "/", len, " : ", xpos, "..", xpos+bwidth);
drawsegment: drawsegment:
SDL_Surface *gr = glbuf.render(); SDL_Surface *gr = glbuf.render();
@ -445,7 +445,7 @@ EX namespace history {
} }
last_base = centerover; last_base = centerover;
last_relative = C0; last_relative = tC0(v[j]->at);
} }
} }