Browse Source

Fix mouse recentering.

Existing fix didn't apply until after SecurePreloader completed.
This disables the mouse recentering earlier.
window-cursor
Joseph Davies 12 years ago
parent
commit
487f63f60b
  1. 3
      MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/plClient.cpp

3
MOULOpenSourceClientPlugin/Plasma20/Sources/Plasma/Apps/plClient/plClient.cpp

@ -1302,8 +1302,6 @@ void plClient::IIncProgress (hsScalar byHowMuch, const char * text)
//============================================================================
void plClient::IStartProgress( const char *title, hsScalar len )
{
plInputManager::SetRecenterMouse(false);
if (fProgressBar)
{
fProgressBar->SetLength(fProgressBar->GetMax()+len);
@ -1548,6 +1546,7 @@ hsBool plClient::StartInit()
pfGameGUIMgr::GetInstance()->SetAspectRatio( aspectratio );
plMouseDevice::Instance()->SetDisplayResolution((float)fPipeline->Width(), (float)fPipeline->Height());
plInputManager::SetRecenterMouse(false);
// create the listener for the audio system:
plListener* pLMod = TRACKED_NEW plListener;

Loading…
Cancel
Save