kosilka: I wish rolling up bug fixed (I have no MSVC, so if there is any misstake, please fix it :)

git-svn-id: svn://kolibrios.org@2131 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2011-08-27 16:31:49 +00:00
parent 836a2f71bd
commit 5f2a265e98

View File

@ -515,14 +515,19 @@ void animate(int initcellx, int initcelly, int direction){ //
void draw_window(void){ //Ïåðåðèñîâêà îêíà
//----Leency
sProcessInfo sPI;
if (w_redraw)
{
kos_WindowRedrawStatus(1); //Íà÷àëî ïåðåðèñîâêè
//kos_DefineAndDrawWindow(50,50,640,506,0x74,0xEEEEEE,0,0,(Dword)windowTitle);
kos_DefineAndDrawWindow(50,50,640,506-22+kos_GetSkinWidth(),0x74,0xEEEEEE,0,0,(Dword)windowTitle);
kos_WindowRedrawStatus(2); //Ęîíĺö ďĺđĺđčńîâęč
}
w_redraw=false;
kos_ProcessInfo( &sPI );
if (sPI.processInfo.y_size==kos_GetSkinWidth()+3) return; //íč÷ĺăî íĺ äĺëŕňü ĺńëč îęíî ńőëîďíóňî â çŕăîëîâîę
//Ïåðåðèñîâêà êàðòû
if ((status!=0)&&(status!=-1)&&(status!=4))
@ -670,9 +675,6 @@ void draw_window(void){ //
}
kos_WindowRedrawStatus(2); //Ęîíĺö ďĺđĺđčńîâęč
}