From 02e38f981e57e84319cdb00e105c36f5dd138445 Mon Sep 17 00:00:00 2001 From: Joseph Davies Date: Fri, 20 Jan 2012 05:18:04 -0800 Subject: [PATCH] Fix mouse recentering. Existing fix didn't apply until after SecurePreloader completed. This disables the mouse recentering earlier. --- Sources/Plasma/Apps/plClient/plClient.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/Plasma/Apps/plClient/plClient.cpp b/Sources/Plasma/Apps/plClient/plClient.cpp index 24e802be..c39c3b68 100644 --- a/Sources/Plasma/Apps/plClient/plClient.cpp +++ b/Sources/Plasma/Apps/plClient/plClient.cpp @@ -1309,8 +1309,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); @@ -1555,6 +1553,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;