1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

web version did not draw lines for some reason

This commit is contained in:
Zeno Rogue 2020-03-16 21:11:03 +01:00
parent 90393f8c99
commit 5f93ac20b9

View File

@ -738,6 +738,8 @@ void draw_ncee() {
pair<int, int> 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) ;
else if(show_mapping && show_mgrid && !in_visualization) {
@ -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;