clicks 2.1: fixed bug (found by 0CodErr)

git-svn-id: svn://kolibrios.org@3273 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2013-02-25 13:24:59 +00:00
parent 82934c24f2
commit 1213e4118f

View File

@ -18,7 +18,7 @@ int blocks_matrix[28*28]; //
#define BLOCK_SIZE 21 //ðàçìåð êâàäðàòèêà #define BLOCK_SIZE 21 //ðàçìåð êâàäðàòèêà
#define MARKED 7 #define MARKED 7
#define DELETED_BLOCK 6 #define DELETED_BLOCK 6
#define HEADER "Just Clicks v2.0" #define HEADER "Just Clicks v2.1"
#ifndef AUTOBUILD #ifndef AUTOBUILD
#include "lang.h--" #include "lang.h--"
@ -248,6 +248,7 @@ void new_game()
//÷òîáû îòìåòèòü êâàäðàòèêè â ïðîöåññå çàëèâêè è DELETED_BLOCK äëÿ èõ óäàëåíèÿ //÷òîáû îòìåòèòü êâàäðàòèêè â ïðîöåññå çàëèâêè è DELETED_BLOCK äëÿ èõ óäàëåíèÿ
for (i=0;i<BLOCKS_NUM*BLOCKS_NUM;i++) for (i=0;i<BLOCKS_NUM*BLOCKS_NUM;i++)
blocks_matrix[i] = random(5); blocks_matrix[i] = random(5);
DeleteButton(2);
} }