From 5f93ac20b952c90236e2d24d5b3e9482464f6c3e Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 16 Mar 2020 21:11:03 +0100 Subject: [PATCH] web version did not draw lines for some reason --- rogueviz/newconf.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rogueviz/newconf.cpp b/rogueviz/newconf.cpp index f1a8b6e4..5e4468dd 100644 --- a/rogueviz/newconf.cpp +++ b/rogueviz/newconf.cpp @@ -737,6 +737,8 @@ void draw_ncee() { hyperpoint vmap[256][256]; pair mpt = {(mousex - xc - cd->xcenter - x0) / siz, (mousey - yc - cd->ycenter - y0) / siz}; + + queueline(h(0,0), h(0,-1), 0x1010101); const color_t gridcol = 0xFFFFFFFF; if(inHighQual) ; @@ -762,8 +764,11 @@ void draw_ncee() { for(int x=0; x<=X; x++) queueline(h(x,0), h(x,Y), 0x80808080); for(int y=0; y<=Y; y++) queueline(h(0,y), h(X,y), 0x80808080); - quickqueue(); + + queueline(h(0,0), h(0,-1), 0x1010101); + quickqueue(); + glflush(); } int ncee_map_prepared;