1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00

fix for last commit

This commit is contained in:
FunkyFr3sh 2021-06-17 07:21:50 +02:00
parent ecba05e202
commit c93af0918b

View File

@ -678,7 +678,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
if (g_ddraw->adjmouse)
{
if (g_ddraw->vhack)
if (g_ddraw->vhack && !g_ddraw->devmode)
{
POINT pt = { 0, 0 };
fake_GetCursorPos(&pt);