Main repository of MikuMikuStudio
Revision | 25dc020a29b7f40124f58ce872017f7f6e10fb11 (tree) |
---|---|
Time | 2003-10-27 02:48:56 |
Author | mojomonkey <mojomonkey@75d0...> |
Commiter | mojomonkey |
Fixed bug where checking null of keyboard rather than mouse for getMouseInput.
git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@113 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
@@ -43,7 +43,7 @@ import com.jme.util.LoggingSystem; | ||
43 | 43 | * @see com.jme.input.KeyInput |
44 | 44 | * @see com.jme.input.MouseInput |
45 | 45 | * @author Mark Powell |
46 | - * @version $Id: InputSystem.java,v 1.1 2003-10-23 21:24:18 mojomonkey Exp $ | |
46 | + * @version $Id: InputSystem.java,v 1.2 2003-10-26 17:48:56 mojomonkey Exp $ | |
47 | 47 | */ |
48 | 48 | public class InputSystem { |
49 | 49 | //the input devices. |
@@ -85,7 +85,7 @@ public class InputSystem { | ||
85 | 85 | * @return the mouse input device. |
86 | 86 | */ |
87 | 87 | public static MouseInput getMouseInput() { |
88 | - if (keyInput == null) { | |
88 | + if (mouseInput == null) { | |
89 | 89 | LoggingSystem.getLogger().log( |
90 | 90 | Level.WARNING, |
91 | 91 | "MouseInput is null," |