Skip to content

Commit 8476a13

Browse files
committed
Restored EA code comment.
1 parent 1aa4803 commit 8476a13

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GeneralsMD/Code/Main/WinMain.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,10 @@ LRESULT CALLBACK WndProc( HWND hWnd, UINT message,
419419
// ------------------------------------------------------------------------
420420
case WM_SETFOCUS:
421421
{
422+
//
423+
// reset the state of our keyboard cause we haven't been paying
424+
// attention to the keys while focus was away
425+
//
422426
if (TheKeyboard)
423427
TheKeyboard->resetKeys();
424428

0 commit comments

Comments
 (0)