From 9cea91975451a7abb6f15e08f7fb6c20efed152c Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 15 Jul 2005 23:43:22 +0000 Subject: Fixed compiler warnings and added plain text file loading to resource manager. --- src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game.cpp') diff --git a/src/game.cpp b/src/game.cpp index f6d569b1..6013e4d5 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -270,7 +270,7 @@ void do_input() { // TODO: one different value of tolerance is needed for each direction // This probably means the need for a tuning utility/window - int tolerance = config.getValue("joytolerance", 10); + int tolerance = (int)config.getValue("joytolerance", 10); SDL_JoystickUpdate(); if (SDL_JoystickGetAxis(joypad, 0) > tolerance) { -- cgit v1.2.3-70-g09d2