diff --git a/resources/ping-pong-mips32/game/game/game.S b/resources/ping-pong-mips32/game/game/game.S index 9696b79..2540c04 100644 --- a/resources/ping-pong-mips32/game/game/game.S +++ b/resources/ping-pong-mips32/game/game/game.S @@ -181,7 +181,7 @@ kb_readbuffer: 11: bnez t0, 12f addi t1, ball_x, -player2_x - sub t2, ball_x, player1_y + sub t2, ball_y, player1_y bltz t2, GAME_START addi t2, t2, -2 bgez t2, GAME_START @@ -190,7 +190,7 @@ kb_readbuffer: sll t1, random, 13 12: bnez t1, GAME_START - sub t3, ball_x, player2_y + sub t3, ball_y, player2_y bltz t3, GAME_START addi t3, t3, -2 bgez t3, GAME_START