mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 09:30:35 +00:00
hybrid:: fixed queuecircleat
This commit is contained in:
parent
5ad1be2962
commit
3e6e1cd6ed
@ -6843,7 +6843,8 @@ EX void queuecircleat(cell *c, double rad, color_t col) {
|
|||||||
if(!gmatrix.count(c)) return;
|
if(!gmatrix.count(c)) return;
|
||||||
if(WDIM == 3) {
|
if(WDIM == 3) {
|
||||||
dynamicval<color_t> p(poly_outline, col);
|
dynamicval<color_t> p(poly_outline, col);
|
||||||
int ofs = wall_offset(c);
|
// we must do hybrid::wall_offset in hybrid because the cached value is likely incorrect
|
||||||
|
int ofs = hybri ? hybrid::wall_offset(c) : wall_offset(c);
|
||||||
for(int i=0; i<c->type; i++) {
|
for(int i=0; i<c->type; i++) {
|
||||||
queuepolyat(gmatrix[c], cgi.shWireframe3D[ofs + i], 0, PPR::SUPERLINE);
|
queuepolyat(gmatrix[c], cgi.shWireframe3D[ofs + i], 0, PPR::SUPERLINE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user