diff options
author | christos <christos@NetBSD.org> | 2015-11-06 19:53:37 +0000 |
---|---|---|
committer | christos <christos@NetBSD.org> | 2015-11-06 19:53:37 +0000 |
commit | 2e99c67a1bfa5c84c7c49617cae913cdb506459b (patch) | |
tree | b2cced8f00a93432dc1ed1776913b9bca941b873 /tetris/screen.c | |
parent | f3d1cce411cc6eac7290df12d80c9824869bbb5b (diff) | |
download | bsdgames-darwin-2e99c67a1bfa5c84c7c49617cae913cdb506459b.tar.gz bsdgames-darwin-2e99c67a1bfa5c84c7c49617cae913cdb506459b.tar.zst bsdgames-darwin-2e99c67a1bfa5c84c7c49617cae913cdb506459b.zip |
PR/50411: Rin Okuyama: fix two bugs:
- clear blocks in the 0 row, otherwise the pile up forever.
- black (white) blocks are not shown as "next shape":
Diffstat (limited to 'tetris/screen.c')
-rw-r--r-- | tetris/screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tetris/screen.c b/tetris/screen.c index 1babdb49..62d50a2d 100644 --- a/tetris/screen.c +++ b/tetris/screen.c @@ -1,4 +1,4 @@ -/* $NetBSD: screen.c,v 1.30 2015/07/07 22:53:25 nat Exp $ */ +/* $NetBSD: screen.c,v 1.31 2015/11/06 19:53:37 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -330,8 +330,8 @@ scr_update(void) putstr("Next shape:"); /* draw */ - putpad(enter_standout_mode); setcolor(nextshape->color); + putpad(enter_standout_mode); moveto(r, 2*c); putstr(" "); for(i=0; i<3; i++) { |