Minor cleanup
This commit is contained in:
parent
ffe7d1c816
commit
112c69eb0c
@ -288,13 +288,10 @@ static int _cdecl _GetMouseState(Mouse* pMouse)
|
|||||||
DIMOUSE->Unacquire();
|
DIMOUSE->Unacquire();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DIMOUSE->GetDeviceState(20, pMouse) < 0)
|
if (DIMOUSE->GetDeviceState(sizeof(Mouse), pMouse) < 0)
|
||||||
{
|
{
|
||||||
if (DIMOUSE->Acquire() == -2147024866)
|
while (DIMOUSE->Acquire() == DIERR_NOTINITIALIZED);
|
||||||
{
|
|
||||||
while (DIMOUSE->Acquire() == -2147024866);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pMouse->buttons[0] = (GetAsyncKeyState(1) >> 8);
|
pMouse->buttons[0] = (GetAsyncKeyState(1) >> 8);
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
#define MENU_NAME "Cheat Menu"
|
#define MENU_NAME "Cheat Menu"
|
||||||
#define MENU_VERSION_NUMBER "3.0"
|
#define MENU_VERSION_NUMBER "3.0"
|
||||||
#define MENU_VERSION MENU_VERSION_NUMBER"-beta"
|
#define MENU_VERSION MENU_VERSION_NUMBER"-beta"
|
||||||
#define BUILD_NUMBER "20211009"
|
#define BUILD_NUMBER "20211017"
|
||||||
#define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"
|
#define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"
|
||||||
|
Loading…
Reference in New Issue
Block a user