Fix mouse remaining ungrabbed when running map from Radiant

This commit is contained in:
Daniel Gibson 2022-05-18 04:01:33 +02:00
parent a363ab4e31
commit e8a1eb8baf

View file

@ -6370,7 +6370,9 @@ void CMainFrame::OnActivate(UINT nState, CWnd *pWndOther, BOOL bMinimized) {
soundSystem->SetPlayingSoundWorld( g_qeglobals.sw );
}
else {
//com_editorActive = false;
// DG: if the Radiant loses focus, tell the engine about it
// so the game window can get mouse focus (if it's running)
common->ActivateTool( false );
}
}