mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- Bugfix: Console now works in VS 2008 (by SpaceViking and The_Bob)
- Bugfix: Reset the ALT + \ keys after opening the console in the SGP git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2991 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
#include "VFS/Location/vfs_slf_library.h"
|
||||
#include "Text.h"
|
||||
|
||||
#define USE_CONSOLE 0
|
||||
#define USE_CONSOLE 1
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
#include "Console.h"
|
||||
#include "Lua Interpreter.h"
|
||||
#include "connect.h"
|
||||
#include "english.h"
|
||||
|
||||
#ifdef JA2
|
||||
#include "BuildDefines.h"
|
||||
@@ -527,6 +528,11 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
// Reset the pressed keys
|
||||
gfKeyState[ ALT ] = FALSE;
|
||||
gfKeyState[ CTRL ] = FALSE;
|
||||
gfKeyState[ 219 ] = FALSE; // "\"
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user