about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 379b7a88..d184bb22 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -45,6 +45,7 @@ static int keyboard_current = 0;
 static int keyboard_first = 1;
 
 void inp_mouse_relative(int *x, int *y) { input::mouse_position(x, y); }
+int inp_mouse_scroll() { input::mouse_scroll(); }
 int inp_key_pressed(int key) { return keyboard_state[keyboard_current][key]; }
 int inp_key_was_pressed(int key) { return keyboard_state[keyboard_current^1][key]; }
 int inp_key_down(int key) { return inp_key_pressed(key)&&!inp_key_was_pressed(key); }