about summary refs log tree commit diff
path: root/src/engine/client/client.cpp
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2007-08-05 23:05:38 +0000
committerJoel de Vahl <joel@stalverk80.se>2007-08-05 23:05:38 +0000
commitffcdc63ded3bcca9a72928f56ac49721b6454e39 (patch)
tree8c2a20a722f6cc77e27127ac71fbe765eb119484 /src/engine/client/client.cpp
parent313781b365dcce8dce03a3c26babdcb4637ca2bf (diff)
downloadzcatch-ffcdc63ded3bcca9a72928f56ac49721b6454e39.tar.gz
zcatch-ffcdc63ded3bcca9a72928f56ac49721b6454e39.zip
stupid missed return
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 d184bb22..4f502c3a 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -45,7 +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_mouse_scroll() { return 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); }