fix for last commit
This commit is contained in:
parent
a399797982
commit
94e5652e11
1 changed files with 4 additions and 1 deletions
|
@ -121,8 +121,11 @@ int WINAPI fake_ShowCursor(BOOL bShow)
|
|||
|
||||
HCURSOR WINAPI fake_SetCursor(HCURSOR hCursor)
|
||||
{
|
||||
if (g_ddraw)
|
||||
g_ddraw->old_cursor = hCursor;
|
||||
|
||||
if (g_ddraw && !g_ddraw->handlemouse && (g_ddraw->locked || g_ddraw->devmode))
|
||||
return real_SetCursor(g_ddraw->old_cursor = hCursor);
|
||||
return real_SetCursor(hCursor);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue