diff options
| author | 2019-10-24 13:40:45 -0400 | |
|---|---|---|
| committer | 2019-10-24 13:40:45 -0400 | |
| commit | 8f5264460a00ba3665dab32ade9dd7e19f532044 (patch) | |
| tree | b8875fa38882dc3fa7c9d429f19b7b690757c308 /frontends | |
| parent | 0cf54642cbe3e999a48c8447652e395b17c648e2 (diff) | |
| download | cetris-8f5264460a00ba3665dab32ade9dd7e19f532044.tar.gz cetris-8f5264460a00ba3665dab32ade9dd7e19f532044.tar.bz2 cetris-8f5264460a00ba3665dab32ade9dd7e19f532044.zip | |
fix next piece visual
Diffstat (limited to 'frontends')
| -rw-r--r-- | frontends/curses/curses_ui.c | 6 |
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);
+ }
}
}
|