fix prior

git-svn-id: svn://kolibrios.org@7480 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Kirill Lipatov (Leency) 2018-10-18 20:37:29 +00:00
parent 18093234c5
commit 052267ebdf

View File

@ -35,6 +35,7 @@ struct MouseState
void kos_Main()
{
Dword btn_id;
Dword frame_start, frame_end;
OnStart();
Menu();
@ -72,7 +73,7 @@ void kos_Main()
OnMouseMove();
break;
}
if (kos_GetButtonID()==1) OnExit();
if (kos_GetButtonID(btn_id)==1) OnExit();
DrawBombs();
DrawRocketsAndCrosses();
DrawExplodes();