mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-03-22 10:41:08 +00:00
Fix mouse remaining ungrabbed when running map from Radiant
This commit is contained in:
parent
a363ab4e31
commit
e8a1eb8baf
1 changed files with 3 additions and 1 deletions
|
@ -6370,7 +6370,9 @@ void CMainFrame::OnActivate(UINT nState, CWnd *pWndOther, BOOL bMinimized) {
|
||||||
soundSystem->SetPlayingSoundWorld( g_qeglobals.sw );
|
soundSystem->SetPlayingSoundWorld( g_qeglobals.sw );
|
||||||
}
|
}
|
||||||
else {
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue