mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +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 vxstr(a,b,c,d) str(a##.##b##.##c##.##d)
|
||||||
#define str(s) #s
|
#define str(s) #s
|
||||||
|
|
||||||
#define VERSION 1,1,9,0
|
#define VERSION 1,1,9,1
|
||||||
|
|
||||||
1 VERSIONINFO
|
1 VERSIONINFO
|
||||||
FILEVERSION VERSION
|
FILEVERSION VERSION
|
||||||
|
@ -30,7 +30,7 @@ BOOL WINAPI fake_GetCursorPos(LPPOINT lpPoint)
|
|||||||
{
|
{
|
||||||
POINT pt, realpt;
|
POINT pt, realpt;
|
||||||
|
|
||||||
if (!GetCursorPos(&pt))
|
if (!GetCursorPos(&pt) || !ddraw)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
realpt.x = pt.x;
|
realpt.x = pt.x;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user