JUTConsole draw match

This commit is contained in:
Jasper St. Pierre
2023-12-04 18:23:17 -08:00
parent a90e2e842e
commit 857b0ae732
2 changed files with 34 additions and 37 deletions
+4 -4
View File
@@ -404,11 +404,11 @@ void JUTConsoleManager::removeConsole(JUTConsole* console) {
/* 802CB674-802CB740 .text draw__17JUTConsoleManagerCFv */
void JUTConsoleManager::draw() const {
/* Nonmatching */
ConsoleList::const_iterator iter = soLink_.begin();
ConsoleList::const_iterator end = soLink_.end();
// need to figure out how TLinkList works
for (ConsoleList::const_iterator iter = soLink_.begin(); iter != soLink_.end(); ++iter) {
JUTConsole* pConsole = &(*iter);
for (; iter != end; ++iter) {
const JUTConsole * const pConsole = &(*iter);
if (pConsole != mActiveConsole)
pConsole->doDraw(JUTConsole::INACTIVE);
}