From b32d90764efe848e38c56663c96af40ef0d0cfc0 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Sun, 7 Jul 2013 12:33:16 +0000 Subject: [PATCH] fix for #3273 git-svn-id: svn://kolibrios.org@3776 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/clicks/trunk/clicks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/programs/games/clicks/trunk/clicks.c b/programs/games/clicks/trunk/clicks.c index ef3d4b6fe0..bc27bb4126 100644 --- a/programs/games/clicks/trunk/clicks.c +++ b/programs/games/clicks/trunk/clicks.c @@ -47,7 +47,7 @@ void main() case evButton: id = GetButtonID(); if (id==1) ExitProcess(); - if (id==2) goto _NEW_GAME_MARK; + if (id==2) || (id==3) goto _NEW_GAME_MARK; if (id>=100) { if (check_for_end()) break; //если игра закончена @@ -235,7 +235,7 @@ void draw_clicks_num() copystr(#REZULT_TEXT, #rezult); copystr(IntToStr(BLOCKS_LEFT), #rezult+strlen(#rezult)); if (check_for_end()==1) copystr("Epic WIN!!1", #rezult); - DrawFlatButton(BLOCK_SIZE*BLOCKS_NUM/2-70, BLOCK_SIZE*BLOCKS_NUM/2-20, 140, 40, 2, #rezult); + DrawFlatButton(BLOCK_SIZE*BLOCKS_NUM/2-70, BLOCK_SIZE*BLOCKS_NUM/2-20, 140, 40, 3, #rezult); } } @@ -248,7 +248,7 @@ void new_game() //чтобы отметить квадратики в процессе заливки и DELETED_BLOCK для их удаления for (i=0;i