From 67517585e9b55967f5236ed5ebca77173eb2f2e3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 22 Jul 2008 22:48:21 +0000 Subject: reset keyboard state on r_restart --- src/client/input.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/input.h') diff --git a/src/client/input.h b/src/client/input.h index 96192f8..b2b44c8 100644 --- a/src/client/input.h +++ b/src/client/input.h @@ -24,6 +24,9 @@ void shutdown(); /// handle one frame of input events void frame(float seconds); +/// reset input state +void reset(); + extern int mouse_x; extern int mouse_y; -- cgit v1.2.3