diff --git a/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java b/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java index 7ae3f7df3..21a94994c 100644 --- a/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java +++ b/engine/src/jogl/com/jme3/input/jogl/NewtMouseInput.java @@ -207,7 +207,7 @@ public class NewtMouseInput implements MouseInput, MouseListener { public void mouseWheelMoved(MouseEvent awtEvt) { //FIXME not sure this is the right way to handle this case - int dwheel = awtEvt.getWheelRotation(); + float dwheel = awtEvt.getWheelRotation(); wheelPos += dwheel * WHEEL_AMP; cursorMoved = true; }