summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2019-10-24 13:40:45 -0400
committerAndrew Opalach <andrew@akon.city> 2019-10-24 13:40:45 -0400
commit8f5264460a00ba3665dab32ade9dd7e19f532044 (patch)
treeb8875fa38882dc3fa7c9d429f19b7b690757c308
parent0cf54642cbe3e999a48c8447652e395b17c648e2 (diff)
downloadcetris-8f5264460a00ba3665dab32ade9dd7e19f532044.tar.gz
cetris-8f5264460a00ba3665dab32ade9dd7e19f532044.tar.bz2
cetris-8f5264460a00ba3665dab32ade9dd7e19f532044.zip
fix next piece visual
-rw-r--r--frontends/curses/curses_ui.c6
1 files changed, 3 insertions, 3 deletions
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);
+ }
}
}