From 3f69ffa58c22b75a80ad4a241a6fbeeae706f8d5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Fri, 27 Dec 2019 01:19:37 +0100 Subject: [PATCH] fixed history band render --- history.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/history.cpp b/history.cpp index c378b3cd..2a0053b3 100644 --- a/history.cpp +++ b/history.cpp @@ -414,8 +414,8 @@ EX namespace history { hyperpoint hscr; applymodel(last, hscr); ld bwidth = -current_display->radius * hscr[0]; - print(hlog, "bwidth = ", bwidth, "/", len); - + println(hlog, "bwidth = ", bwidth, "/", len, " : ", xpos, "..", xpos+bwidth); + drawsegment: SDL_Surface *gr = glbuf.render(); @@ -445,7 +445,7 @@ EX namespace history { } last_base = centerover; - last_relative = C0; + last_relative = tC0(v[j]->at); } }