about summary refs log tree commit diff
path: root/src/engine/client/client.cpp
diff options
context:
space:
mode:
authorJohan Althoff <teetow@gmail.com>2007-08-07 18:07:34 +0000
committerJohan Althoff <teetow@gmail.com>2007-08-07 18:07:34 +0000
commitf38f0f49d54f124ed385c609789bf834bbfde6cb (patch)
tree6c5e689d9e2fb1f744bf9d6b89fecf114d46b35e /src/engine/client/client.cpp
parent85ca9f7123728d4fe88a3e33890aed47193ef7fa (diff)
downloadzcatch-f38f0f49d54f124ed385c609789bf834bbfde6cb.tar.gz
zcatch-f38f0f49d54f124ed385c609789bf834bbfde6cb.zip
fixed so that the client doesn't spam screenshots
Diffstat (limited to 'src/engine/client/client.cpp')
-rw-r--r--src/engine/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
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