- 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:
Wanne
2009-06-26 08:36:20 +00:00
parent 7fc0de5ccd
commit 20c8fb646d
+5 -5
View File
@@ -545,13 +545,13 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
g_Console.Create(ghWindow);
cout << "LUA console ready" << endl;
cout << "> ";
// Reset the pressed keys
gfKeyState[ ALT ] = FALSE;
gfKeyState[ 219 ] = FALSE; // "\"
#endif
}
}
// Reset the pressed keys
gfKeyState[ ALT ] = FALSE;
gfKeyState[ CTRL ] = FALSE;
gfKeyState[ 219 ] = FALSE; // "\"
}
}
break;