mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
Fix mouse recentering.
Existing fix didn't apply until after SecurePreloader completed. This disables the mouse recentering earlier.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user