X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=vid_shared.c;h=7ee5b34f6d3d50fbef0dd0f6defe285d7a662787;hb=b1e1abc83d9a02d6ad430f841732dc9272e2f30f;hp=129641cfcfe1dd42586d710eac6143498123d6d8;hpb=3e3f3dacdc0d4594a847bf6d77bb0b145a187708;p=xonotic%2Fdarkplaces.git diff --git a/vid_shared.c b/vid_shared.c index 129641cf..7ee5b34f 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -1850,6 +1850,7 @@ static int VID_Mode(int fullscreen, int width, int height, int bpp, float refres static void VID_OpenSystems(void) { + Key_ReleaseAll(); R_Modules_Start(); S_Startup(); } @@ -1858,6 +1859,7 @@ static void VID_CloseSystems(void) { S_Shutdown(); R_Modules_Shutdown(); + Key_ReleaseAll(); } qboolean vid_commandlinecheck = true;