From 336ce09e1ca446bfb5a9219ef5bbfacf4db8b534 Mon Sep 17 00:00:00 2001 From: dnivra Date: Mon, 3 Mar 2014 15:31:16 +0000 Subject: [PATCH] Fixes bug on resume in Tetris: DOWN and spacebar disabled during pause. git-svn-id: svn://kolibrios.org@4604 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/tetris/trunk/tetris.asm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/games/tetris/trunk/tetris.asm b/programs/games/tetris/trunk/tetris.asm index 71acf500ad..f89c082346 100644 --- a/programs/games/tetris/trunk/tetris.asm +++ b/programs/games/tetris/trunk/tetris.asm @@ -213,6 +213,8 @@ adr50: jmp scendi adr51: cmp ah,DOWN_KEY jne adr61 + cmp dword[pauses], 1 ; fixes bug on resume + je adr52 cmp [force_down], 1 jne scendi mov byte [delay],5 ;!!! 2 @@ -220,6 +222,8 @@ adr52: jmp scendi adr61: cmp ah,' ' jne adr62 + cmp dword[pauses], 1 ; fixes bug on resume + je adr62 cmp [force_down], 1 jne scendi mov byte [delay],5 ;!!! 2