mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
nuke console
This commit is contained in:
committed by
majcosta
parent
5d3cc7969f
commit
e5d25810f6
-16
@@ -45,7 +45,6 @@
|
||||
|
||||
|
||||
#include "INIReader.h"
|
||||
#include "Console.h"
|
||||
#include "Lua Interpreter.h"
|
||||
#include "connect.h"
|
||||
#include "english.h"
|
||||
@@ -383,21 +382,6 @@ INT32 FAR PASCAL WindowProcedure(HWND hWindow, UINT16 Message, WPARAM wParam, LP
|
||||
}
|
||||
break;
|
||||
|
||||
case WM_INPUTREADY:
|
||||
{
|
||||
wstring *tstr = (wstring*) lParam;
|
||||
if (EvalLua( tstr->c_str()))
|
||||
{
|
||||
tstr->erase();
|
||||
}
|
||||
else
|
||||
{
|
||||
cout << ">";
|
||||
}
|
||||
|
||||
cout << "> ";
|
||||
}
|
||||
break;
|
||||
default :
|
||||
return DefWindowProc(hWindow, Message, wParam, lParam);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user