mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-15 06:04:49 +01:00
fix crash on game exit (warcraft 2)
This commit is contained in:
parent
f7cdde52ee
commit
f1718cfd05
2
ddraw.rc
2
ddraw.rc
@ -2,7 +2,7 @@
|
||||
#define vxstr(a,b,c,d) str(a##.##b##.##c##.##d)
|
||||
#define str(s) #s
|
||||
|
||||
#define VERSION 1,1,9,0
|
||||
#define VERSION 1,1,9,1
|
||||
|
||||
1 VERSIONINFO
|
||||
FILEVERSION VERSION
|
||||
|
@ -30,7 +30,7 @@ BOOL WINAPI fake_GetCursorPos(LPPOINT lpPoint)
|
||||
{
|
||||
POINT pt, realpt;
|
||||
|
||||
if (!GetCursorPos(&pt))
|
||||
if (!GetCursorPos(&pt) || !ddraw)
|
||||
return FALSE;
|
||||
|
||||
realpt.x = pt.x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user