mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00:34 +00:00
fixed history band render
This commit is contained in:
parent
2b154edbdb
commit
3f69ffa58c
@ -414,8 +414,8 @@ 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user