File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1166,7 +1166,6 @@ void CGamePlayer::OnClose()
11661166
11671167void CGamePlayer::OnActivateApp (bool active)
11681168{
1169- static bool wasPlaying = false ;
11701169 static bool wasFullscreen = false ;
11711170 static bool firstDeActivate = true ;
11721171
@@ -1177,9 +1176,6 @@ void CGamePlayer::OnActivateApp(bool active)
11771176 {
11781177 if (m_CKContext)
11791178 {
1180- if (firstDeActivate)
1181- wasPlaying = m_CKContext->IsPlaying () == TRUE ;
1182-
11831179 if (!m_Config.alwaysHandleInput )
11841180 m_InputManager->Pause (TRUE );
11851181
@@ -1195,18 +1191,12 @@ void CGamePlayer::OnActivateApp(bool active)
11951191 {
11961192 wasFullscreen = false ;
11971193 }
1198-
1199- if (wasPlaying)
1200- Pause ();
12011194 }
12021195 firstDeActivate = false ;
12031196 m_State = eFocusLost;
12041197 }
12051198 else
12061199 {
1207- if (wasPlaying)
1208- Play ();
1209-
12101200 if (wasFullscreen && !firstDeActivate)
12111201 OnGoFullscreen ();
12121202
You can’t perform that action at this time.
0 commit comments