fix SetCursor hook
This commit is contained in:
parent
3317bdebf9
commit
3090f856da
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ int WINAPI fake_ShowCursor(BOOL bShow)
|
||||||
|
|
||||||
HCURSOR WINAPI fake_SetCursor(HCURSOR hCursor)
|
HCURSOR WINAPI fake_SetCursor(HCURSOR hCursor)
|
||||||
{
|
{
|
||||||
if (g_ddraw && !g_ddraw->handlemouse)
|
if (g_ddraw && !g_ddraw->handlemouse && (g_ddraw->locked || g_ddraw->devmode))
|
||||||
return real_SetCursor(hCursor);
|
return real_SetCursor(hCursor);
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue