Fix pos1 only scrolling up one page in console

This commit is contained in:
Robert Müller 2022-05-23 19:24:56 +02:00
parent 59c79faa00
commit 0c518baef4

View file

@ -770,6 +770,8 @@ void CGameConsole::OnRender()
}
static int s_LastActivePage = pConsole->m_BacklogCurPage;
if(pConsole->m_BacklogCurPage == INT_MAX)
s_LastActivePage = INT_MAX;
int TotalPages = 1;
for(int Page = 0; Page <= s_LastActivePage; ++Page, OffsetY = 0.0f)
{