hook GetKeyState and GetAsyncKeyState for infantry
This commit is contained in:
parent
c52544ad6f
commit
871ccbf196
6 changed files with 35 additions and 3 deletions
|
@ -667,7 +667,7 @@ LRESULT CALLBACK fake_WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam
|
|||
{
|
||||
/* let it pass through once (tiberian sun) */
|
||||
static BOOL one_time;
|
||||
|
||||
|
||||
if (wParam && !one_time && g_config.tshack)
|
||||
{
|
||||
one_time = TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue