1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

colortable single brace

This commit is contained in:
Zeno Rogue 2024-06-22 11:27:30 +02:00
parent 256a7fa2cb
commit 296719c8ca

View File

@ -137,7 +137,7 @@ EX void setCanvas(presmode mode, ccolor::data *canv, reaction_t f) {
EX void setCanvas(presmode mode, ccolor::data *canv) { setCanvas(mode, canv, [] {}); }
EX void setCanvasColor(presmode mode, color_t col, reaction_t f) {
setCanvas(mode, &ccolor::plain, [f, col] { slide_backup(ccolor::rwalls, 0); slide_backup(ccolor::plain.ctab, colortable{{col}}); f(); });
setCanvas(mode, &ccolor::plain, [f, col] { slide_backup(ccolor::rwalls, 0); slide_backup(ccolor::plain.ctab, colortable{col}); f(); });
}
EX void setWhiteCanvas(presmode mode, reaction_t f) {