From 7e159502a1ee68a790a825147974b62dd599f490 Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Sun, 10 Jun 2007 15:42:19 +0000 Subject: input things --- src/game/client/game_client.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/game/client/game_client.cpp') diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 932585cf..2e95f187 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -1742,10 +1742,11 @@ void modc_render() input.angle = (int)(a*256.0f); input.jump = inp_key_pressed(config.key_jump); - input.fire = inp_key_pressed(input::mouse_1);// | (oldinput.fire << 16); + input.fire = inp_key_pressed(config.key_fire);// | (oldinput.fire << 16); //oldinput.fire = input.fire & 0x0000ffff; - input.hook = inp_key_pressed(input::mouse_2) || inp_key_pressed(baselib::input::lctrl); // be nice to mac users O.o + input.hook = inp_key_pressed(config.key_hook); + input.blink = inp_key_pressed('S'); // Weapon switching -- cgit 1.4.1