summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2022-06-01 15:37:28 +0800
committerFrederick Yin <fkfd@fkfd.me>2022-06-01 15:37:28 +0800
commitd191870068f89293353a67b164b4dbb3b3a71661 (patch)
tree5170bff59ba6d27bd4a0edee990e96074b5f67d5
parente31298da0ada6bfcbb6f71e3c27d9eb2825e7e27 (diff)
Do not wrap piece at hand in rectangle
-rw-r--r--ui.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index 6f5bae1..1b1cb74 100644
--- a/ui.c
+++ b/ui.c
@@ -60,7 +60,6 @@ void printpieces(struct piece** hand, int y, int x, int nhand, int highlight) {
continue;
struct piece* pc = hand[i];
- printrect(y, x, pc->h + 2, pc->w + 2);
printpiece(pc, y + 2, x + 3, (i == highlight ? 1 : 0));
x += 2 * pc->w + 8;