]> hydra-www.ietfng.org Git - gtetrinet/commitdiff
patch from Niko Böhm which fixes a missbehaviour of blockbomb.
authorJordi Albornoz <jordi@src.gnome.org>
Thu, 3 Oct 2002 09:21:51 +0000 (09:21 +0000)
committerJordi Albornoz <jordi@src.gnome.org>
Thu, 3 Oct 2002 09:21:51 +0000 (09:21 +0000)
ChangeLog
src/tetrinet.c

index 79f14e24fc76286325d23a81994c4ca61c2b5d94..b5cc78057ccad2b1c42edf8b4d365929fdc34f6a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-03  Jordi Mallach  <jordi@sindominio.net>
+
+       * src/tetrinet.c: patch from Niko Böhm which fixes a missbehaviour
+       of blockbomb.
+
 2002-07-06  Jordi Mallach  <jordi@sindominio.net>
 
        * themes/default/Makefile.am (EXTRA_DIST): added $(defaulttheme_DATA).
index cd5701261218c48302814ec4f9d5159007fcc87d..3ab6282b13e01b520b2e7c110f47255641040b83 100644 (file)
@@ -947,6 +947,7 @@ void tetrinet_dospecial (int from, int to, int type)
                                 x+ax[i] >= FIELDWIDTH || x+ax[i] < 0) continue;
                             block = field[y+ay[i]][x+ax[i]];
                             if (block == 14) block = 0;
+                            else field[y+ay[i]][x+ax[i]] = 0;
                             buf[c] = block;
                             c ++;
                         }