mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fixed bug in the console when executing a line that holds more than one command
This commit is contained in:
parent
fa768449e2
commit
e294cd86a5
|
@ -169,11 +169,10 @@ void CConsole::Print(int Level, const char *pFrom, const char *pStr)
|
|||
}
|
||||
|
||||
void CConsole::ExecuteLineStroked(int Stroke, const char *pStr)
|
||||
{
|
||||
CResult *pResult = new(&m_ExecutionQueue.m_pLast->m_Result) CResult;
|
||||
|
||||
{
|
||||
while(pStr && *pStr)
|
||||
{
|
||||
CResult *pResult = new(&m_ExecutionQueue.m_pLast->m_Result) CResult;
|
||||
const char *pEnd = pStr;
|
||||
const char *pNextPart = 0;
|
||||
int InString = 0;
|
||||
|
|
Loading…
Reference in a new issue