mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix SetCursor hook
This commit is contained in:
parent
3317bdebf9
commit
3090f856da
@ -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…
x
Reference in New Issue
Block a user