mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
winconsole many, many i vars. worldEditor path arguement, lockPtr doubleup. volume.cpp: uneccesary duplicated FileNode::Attributes attr; def
This commit is contained in:
parent
015f07e50e
commit
f59b92bf4e
3 changed files with 10 additions and 11 deletions
|
|
@ -176,12 +176,12 @@ void WinConsole::process()
|
|||
S32 outpos = 0;
|
||||
|
||||
ReadConsoleInput(stdIn, rec, 20, &numEvents);
|
||||
DWORD i;
|
||||
for(i = 0; i < numEvents; i++)
|
||||
DWORD evt;
|
||||
for(evt = 0; evt < numEvents; evt++)
|
||||
{
|
||||
if(rec[i].EventType == KEY_EVENT)
|
||||
if(rec[evt].EventType == KEY_EVENT)
|
||||
{
|
||||
KEY_EVENT_RECORD *ke = &(rec[i].Event.KeyEvent);
|
||||
KEY_EVENT_RECORD *ke = &(rec[evt].Event.KeyEvent);
|
||||
if(ke->bKeyDown)
|
||||
{
|
||||
switch (ke->uChar.AsciiChar)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue