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 30, 2018
1 parent 9652e54 commit 0a618fc
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 0a618fc

Please sign in to comment.