From abc84ac0b0ff77b3b30a20252f86332c699e4466 Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 16 Aug 2010 02:21:18 +0200 Subject: added fixes for compiler errors and warnings by sworddragon --- src/engine/client/input.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine/client/input.cpp') diff --git a/src/engine/client/input.cpp b/src/engine/client/input.cpp index 32e61bbb..c6d3f58e 100644 --- a/src/engine/client/input.cpp +++ b/src/engine/client/input.cpp @@ -65,8 +65,8 @@ void CInput::MouseRelative(int *x, int *y) } } - *x = nx*Sens; - *y = ny*Sens; + *x = (int)(nx*Sens); + *y = (int)(ny*Sens); } void CInput::MouseModeAbsolute() -- cgit 1.4.1