changed warnings and debug output to use new generic logging functions
[rocksndiamonds.git] / src / libgame / joystick.c
index 0c61c57ad056bd75e16c4ec828504ce257e4a673..4a1bc7d5074fcdcbdd0df41599eb72544802cc3e 100644 (file)
@@ -211,10 +211,11 @@ int JoystickExt(int player_nr, boolean use_as_joystick_nr)
 
   if (!ReadJoystick(joystick_nr, &js_x, &js_y, &js_b1, &js_b2))
   {
-    Error(ERR_WARN, "cannot read joystick device '%s'",
-         setup.input[player_nr].joy.device_name);
+    Warn("cannot read joystick device '%s'",
+        setup.input[player_nr].joy.device_name);
 
     joystick.status = JOYSTICK_NOT_AVAILABLE;
+
     return JOY_NO_ACTION;
   }