From f38f0f49d54f124ed385c609789bf834bbfde6cb Mon Sep 17 00:00:00 2001 From: Johan Althoff Date: Tue, 7 Aug 2007 18:07:34 +0000 Subject: fixed so that the client doesn't spam screenshots --- src/engine/client/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/client/client.cpp') diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index f4860a44..730aac6c 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -879,7 +879,7 @@ static void client_run(const char *direct_connect_server) input::set_mouse_mode(input::mode_relative); // screenshot button - if(input::pressed(input::f10)) + if(inp_key_down(input::f10)) gfx_screenshot(); // panic button -- cgit 1.4.1