mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-20 18:42:17 +00:00
- reset internal console state on clear CCMD
'last line needs update' flag cannot be set when console is empty as there are no lines at all in this case https://forum.zdoom.org/viewtopic.php?t=64909 # Conflicts: # src/c_consolebuffer.cpp
This commit is contained in:
parent
6dd1d5eb38
commit
ff92b4b5d7
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ void FConsoleBuffer::FormatText(FFont *formatfont, int displaywidth)
|
|||
if (formatfont != mLastFont || displaywidth != mLastDisplayWidth || mBufferWasCleared)
|
||||
{
|
||||
FreeBrokenText();
|
||||
if (mBufferWasCleared)
|
||||
mLastLineNeedsUpdate = false;
|
||||
m_BrokenConsoleText.Clear();
|
||||
mBrokenStart.Clear();
|
||||
mBrokenStart.Push(0);
|
||||
|
|
Loading…
Reference in a new issue