Browse Source

Merge pull request #198 from lukaspj/development

Initialize mXInputLib to NULL.
Mike Lilligreen 11 years ago
parent
commit
42c267bd37
1 changed files with 1 additions and 0 deletions
  1. 1 0
      engine/source/platformWin32/winDirectInput.cc

+ 1 - 0
engine/source/platformWin32/winDirectInput.cc

@@ -49,6 +49,7 @@ DInputManager::DInputManager()
    mDInputInterface  = NULL;
    mKeyboardActive   = mMouseActive = mJoystickActive = false;
    mXInputActive = true;
+   mXInputLib = NULL;
 
    for(S32 i=0; i<4; i++)
 	   mLastDisconnectTime[i] = -1;