summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2019-04-24 12:18:06 -0400
committerAndrew Opalach <andrew@akon.city> 2019-04-24 12:18:06 -0400
commit9298c0795c9ffba2fa804290df3792c437d3c500 (patch)
tree8200d7ad232a77d35420419d703f0bc6da5f794c
parent4d9d7b5600ab615d68f671df5f8bc6c9fe4a5a09 (diff)
downloadcetris-9298c0795c9ffba2fa804290df3792c437d3c500.tar.gz
cetris-9298c0795c9ffba2fa804290df3792c437d3c500.tar.bz2
cetris-9298c0795c9ffba2fa804290df3792c437d3c500.zip
better spacing for next piece on curses
-rw-r--r--frontends/curses/curses_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/curses/curses_ui.c b/frontends/curses/curses_ui.c
index 5d29160..fb58e4d 100644
--- a/frontends/curses/curses_ui.c
+++ b/frontends/curses/curses_ui.c
@@ -149,7 +149,7 @@ void draw_board() {
for (int x = 0; x < 4; x++) {
for (int y = 0; y < 4; y++) {
if (game.piece_queue[index].m[y][x]) {
- if (game.piece_queue[index].t == I) {
+ if (game.piece_queue[index].t == I || game.piece_queue[index].t == O) {
mvaddstr(6 + y, (x * 2) + 36, BLOCK);
} else {
mvaddstr(6 + y, (x * 2) + 37, BLOCK);