add support for woms 2 high resolution patch zoom

This commit is contained in:
FunkyFr3sh 2024-05-08 05:54:56 +02:00
parent 8326407a64
commit 54d6ff5112
5 changed files with 43 additions and 5 deletions

View file

@ -84,7 +84,7 @@ BOOL WINAPI fake_GetCursorPos(LPPOINT lpPoint)
y = min(pt.y, g_ddraw.height - 1);
}
if (g_config.vhack && InterlockedExchangeAdd(&g_ddraw.upscale_hack_active, 0))
if (g_config.vhack && !g_ddraw.isworms2 && InterlockedExchangeAdd(&g_ddraw.upscale_hack_active, 0))
{
diffx = 0;
diffy = 0;