1
0
mirror of synced 2025-01-20 17:48:51 +01:00

Update FNFSB.cpp

removed stuffs
This commit is contained in:
00C0FFEE 2019-05-19 12:57:50 +02:00
parent 3cae7e0924
commit 29908aba9b

View File

@ -8,8 +8,6 @@
#pragma comment(lib, "Ws2_32.lib")
#define clamp( x, xmin, xmax ) min( xmax, max( x, xmin ) )
DWORD BaseAddress4 = 0x00400000;
int horizontal4 = 0;
int vertical4 = 0;
@ -43,15 +41,11 @@ DWORD WINAPI DefWindowProcART4(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
switch (message)
{
case WM_LBUTTONDOWN:
SetCapture(hWnd);
xClick = LOWORD(lParam);
yClick = HIWORD(lParam);
injector::WriteMemory<BYTE>((0x576CF + BaseAddress4), 0x01, true);
movable4 = true;
break;
case WM_LBUTTONUP:
ReleaseCapture();
injector::WriteMemory<BYTE>((0x576CF + BaseAddress4), 0x00, true);
movable4 = false;
break;