Skip to content

Commit

Permalink
Fixed pause on precache stage
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Jul 28, 2018
1 parent c24a01d commit b1b6c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xrEngine/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void CRenderDevice::End(void)
if (g_pGamePersistent->GameType() == 1) // haCk
{
Uint32 flags = SDL_GetWindowFlags(m_sdlWnd);
if (flags & SDL_WINDOW_INPUT_GRABBED)
if (flags & SDL_WINDOW_INPUT_FOCUS)
Pause(TRUE, TRUE, TRUE, "application start");
}
}
Expand Down

0 comments on commit b1b6c26

Please sign in to comment.