Soft'N'Design Software
/
projects
/
tetris.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ff7d1
)
fix init next tetrinos display
author
Laurent Mazet
<mazet@softndesign.org>
Tue, 30 Jul 2024 06:00:52 +0000
(08:00 +0200)
committer
Laurent Mazet
<mazet@softndesign.org>
Tue, 30 Jul 2024 06:00:52 +0000
(08:00 +0200)
tetris.c
patch
|
blob
|
blame
|
history
diff --git
a/tetris.c
b/tetris.c
index 839293adcaaefda467a47cb3aac69c4338de6931..82887ab0113ac806a58e82b6a79ead3167af47dd 100644
(file)
--- a/
tetris.c
+++ b/
tetris.c
@@
-278,6
+278,8
@@
int main (int argc, char *argv[])
break;
case 1:
halfdelay (1);
+ boardwindow (nextblock, 1);
+ displayblock (nextblock, blocks + next, -1, -1);
if (blockend.tv_sec && isovertime (&blockend)) {
if (testvalidpos (board, cblock, xblock, yblock + 1)) {
yblock++;