mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix ShowCursor calls
This commit is contained in:
parent
8d371b281a
commit
4ca412b754
@ -14,7 +14,7 @@ void mouse_lock()
|
|||||||
if (g_ddraw->devmode)
|
if (g_ddraw->devmode)
|
||||||
{
|
{
|
||||||
if (g_ddraw->handlemouse)
|
if (g_ddraw->handlemouse)
|
||||||
while(real_ShowCursor(FALSE) > 0);
|
while(real_ShowCursor(FALSE) >= 0);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -61,7 +61,7 @@ void mouse_lock()
|
|||||||
{
|
{
|
||||||
SetCapture(g_ddraw->hwnd);
|
SetCapture(g_ddraw->hwnd);
|
||||||
real_ClipCursor(&rc);
|
real_ClipCursor(&rc);
|
||||||
while (real_ShowCursor(FALSE) > 0);
|
while (real_ShowCursor(FALSE) >= 0);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user