From 3e6e1cd6ed9e11d4ed73f2a98a6c04c950b0025f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 9 Sep 2019 18:55:23 +0200 Subject: [PATCH] hybrid:: fixed queuecircleat --- graph.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index db18e529..2d68463c 100644 --- a/graph.cpp +++ b/graph.cpp @@ -6843,7 +6843,8 @@ EX void queuecircleat(cell *c, double rad, color_t col) { if(!gmatrix.count(c)) return; if(WDIM == 3) { dynamicval 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; itype; i++) { queuepolyat(gmatrix[c], cgi.shWireframe3D[ofs + i], 0, PPR::SUPERLINE); }