From 256a7fa2cb1c53f272873ea742c3535ad703c770 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 22 Jun 2024 11:21:08 +0200 Subject: [PATCH] rogueviz:: fix compile errors in dhrg-pres --- rogueviz/dhrg-pres.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rogueviz/dhrg-pres.cpp b/rogueviz/dhrg-pres.cpp index 9e9c9841..2cb5f2b0 100644 --- a/rogueviz/dhrg-pres.cpp +++ b/rogueviz/dhrg-pres.cpp @@ -150,7 +150,7 @@ color_t dhrg_grid = 0x00FF00A0; void graph_visuals(presmode mode) { if(mode == pmStart) { - slide_backup(ccolor::plain.ctab, colortable{{0xFF00}}); + slide_backup(ccolor::plain.ctab, colortable{0xFF00}); slide_backup(canvas_default_wall, waInvisibleFloor); slide_backup(rogueviz::showlabels, true); slide_backup(rogueviz::ggamma, 2); @@ -327,7 +327,7 @@ slide dhrg_slides[] = { return false; }); add_temporary_hook(mode, dialog::hooks_display_dialog, 110, [] () { - if((cmode && sm::EXPANSION) && show_distance_lists) { + if((cmode & sm::EXPANSION) && show_distance_lists) { vector it = std::move(dialog::items); dialog::items.clear(); dialog::start_list(1600, 1600, 'a');