mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
- Bugfix: Reset the pressed keys (ALT, \) after the console opened
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3031 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -545,13 +545,13 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
|
|||||||
g_Console.Create(ghWindow);
|
g_Console.Create(ghWindow);
|
||||||
cout << "LUA console ready" << endl;
|
cout << "LUA console ready" << endl;
|
||||||
cout << "> ";
|
cout << "> ";
|
||||||
|
|
||||||
|
// Reset the pressed keys
|
||||||
|
gfKeyState[ ALT ] = FALSE;
|
||||||
|
gfKeyState[ 219 ] = FALSE; // "\"
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Reset the pressed keys
|
|
||||||
gfKeyState[ ALT ] = FALSE;
|
|
||||||
gfKeyState[ CTRL ] = FALSE;
|
|
||||||
gfKeyState[ 219 ] = FALSE; // "\"
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user