]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix moving of dozer
authorMario <mario@smbclan.net>
Sun, 15 Nov 2015 17:16:55 +0000 (03:16 +1000)
committerMario <mario@smbclan.net>
Sun, 15 Nov 2015 17:16:55 +0000 (03:16 +1000)
qcsrc/common/minigames/minigame/bd.qc

index f5cb472905d5d8372d26570ecf1f7b22d600f739..c024654c34cd495b738232cad561f4061960afe9 100644 (file)
@@ -155,7 +155,6 @@ void bd_move(entity minigame, entity player, string dir)
 {
        if ( minigame.minigame_flags & BD_TURN_MOVE )
        if ( dir )
-       if(bd_valid_tile(dir))
        {
                //if ( bd_valid_tile(pos) )
                //if ( bd_find_piece(minigame, pos, false) )
@@ -187,7 +186,7 @@ void bd_move(entity minigame, entity player, string dir)
                        bd_check_winner(minigame);
 
                        minigame_server_sendflags(dozer,MINIG_SF_UPDATE); // update anyway
-                       minigame_server_sendflags(player, BD_SF_PLAYERMOVES);
+                       minigame_server_sendflags(player,BD_SF_PLAYERMOVES);
                        minigame_server_sendflags(minigame,MINIG_SF_UPDATE);
                }
        }