From ad3a539c4905924dc5e8099ff9949f54bfde9a46 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Fri, 30 Mar 2012 07:03:25 +0000 Subject: [PATCH] Effort to fix Pipes git-svn-id: svn://kolibrios.org@2526 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/pipes/pipes.asm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/programs/games/pipes/pipes.asm b/programs/games/pipes/pipes.asm index 622150c02..020ae8e53 100644 --- a/programs/games/pipes/pipes.asm +++ b/programs/games/pipes/pipes.asm @@ -519,7 +519,11 @@ pusha mov eax,8 movsx edx, byte [map] add edx,9 ;button-id = map-pos + 10;gen_image inkrements - add edx,0x50000000 ;no button image - no esi need + add edx,0x80000000 ;first delete previous button + mcall + movsx edx, byte [map] + add edx,9 ;button-id = map-pos + 10;gen_image inkrements + add edx,0x50000000 ;no button image - no esi need mcall pop edx push ebx