From 8f5264460a00ba3665dab32ade9dd7e19f532044 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 24 Oct 2019 13:40:45 -0400 Subject: fix next piece visual --- frontends/curses/curses_ui.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'frontends/curses') diff --git a/frontends/curses/curses_ui.c b/frontends/curses/curses_ui.c index 0ff0758..096f294 100644 --- a/frontends/curses/curses_ui.c +++ b/frontends/curses/curses_ui.c @@ -132,15 +132,15 @@ void draw_board() { attron(COLOR_PAIR(game.current.t) | A_BOLD); mvaddstr(draw_y, draw_x, BLOCK); - if ((default_matrices[game.piece_queue[game.current_index]][y]>>(3 - x))&1) { - mvaddstr(6 + y, (x * 2) + 36, BLOCK); - } attroff(COLOR_PAIR(game.current.t) | A_BOLD); attron(A_DIM); mvaddstr(ghost_y, draw_x, BLOCK); attroff(A_DIM); } + if ((default_matrices[game.piece_queue[game.current_index]][y]>>(3 - x))&1) { + mvaddstr(6 + y, (x * 2) + 36, BLOCK); + } } } -- cgit v1.2.3-101-g0448