From 052267ebdf33c464c99f3f34502b4734097dd101 Mon Sep 17 00:00:00 2001 From: "Kirill Lipatov (Leency)" Date: Thu, 18 Oct 2018 20:37:29 +0000 Subject: [PATCH] fix prior git-svn-id: svn://kolibrios.org@7480 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/rforces/trunk/rforces.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/games/rforces/trunk/rforces.cpp b/programs/games/rforces/trunk/rforces.cpp index 8a726e8728..d91f610ee4 100644 --- a/programs/games/rforces/trunk/rforces.cpp +++ b/programs/games/rforces/trunk/rforces.cpp @@ -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();