diff options
Diffstat (limited to 'ui.c')
-rw-r--r-- | ui.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -60,11 +60,8 @@ void printpieces(struct piece** hand, int y, int x, int nhand, int highlight) { continue; struct piece* pc = hand[i]; - move(y, x); - - printw("%d", i); - printrect(y + 1, x, pc->h + 2, pc->w + 2); - printpiece(pc, y + 3, x + 3, (i == highlight ? 1 : 0)); + printrect(y, x, pc->h + 2, pc->w + 2); + printpiece(pc, y + 2, x + 3, (i == highlight ? 1 : 0)); x += 2 * pc->w + 8; } |