remove FreezePiece remnants
authorMischa POSLAWSKY <netris@shiar.org>
Sun, 4 Mar 2007 03:54:40 +0000 (04:54 +0100)
committerMischa POSLAWSKY <netris@shiar.org>
Sun, 4 Mar 2007 03:54:40 +0000 (04:54 +0100)
Falling pieces do not require freezing anymore, which will stay like
this most likely.

board.c
game.c

diff --git a/board.c b/board.c
index 87073b9a7b5348e14ebe9ed20b94ba96d70fdd87..22efdc166ab1425e52eeba7d9c4174ba624266ac 100644 (file)
--- a/board.c
+++ b/board.c
@@ -381,11 +381,6 @@ int ClearFullLines(int scr)
        return linescleared;
 }
 
-void FreezePiece(int scr)
-{
-       // remove me! :)
-}
-
 void InsertJunk(int scr, int color, int count, int column)
 { //add <count> junklines with hole at <column> to <scr> by team <color>
        int y, x;
diff --git a/game.c b/game.c
index 9bd9f23bb7446a734473899f702e392c974dfd85..5e3f689a5b64cfaf62a4074804dac04c399bc41a 100644 (file)
--- a/game.c
+++ b/game.c
@@ -428,7 +428,6 @@ void OneGame(void)
                switch(net.type) {
                case NP_newPiece:
                {
-                       FreezePiece(net.uid);
                        memcpy(&Players[net.uid].nextShape, net.data,
                                sizeof(Players[0].nextShape));
                        StartNewPiece(net.uid, Players[net.uid].curShape);