mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 15:44:56 +00:00
Fix oversight in Connection lists
This commit is contained in:
@@ -201,7 +201,9 @@ void CEntity::ImGuiInspect() {
|
||||
ImGui::TableSetupScrollFreeze(0, 1);
|
||||
ImGui::TableHeadersRow();
|
||||
for (const auto& item : x20_conns) {
|
||||
const auto uid = g_StateManager->GetIdForScript(item.x8_objId);
|
||||
const auto search = g_StateManager->GetIdListForScript(item.x8_objId);
|
||||
for (auto it = search.first; it != search.second; ++it) {
|
||||
const auto uid = it->second;
|
||||
if (uid == kInvalidUniqueId) {
|
||||
continue;
|
||||
}
|
||||
@@ -224,6 +226,7 @@ void CEntity::ImGuiInspect() {
|
||||
}
|
||||
ImGuiConsole::EndEntityRow(entry);
|
||||
}
|
||||
}
|
||||
ImGui::EndTable();
|
||||
}
|
||||
}
|
||||
@@ -240,7 +243,9 @@ void CEntity::ImGuiInspect() {
|
||||
ImGui::TableSetupScrollFreeze(0, 1);
|
||||
ImGui::TableHeadersRow();
|
||||
for (const auto& item : *m_incomingConnections) {
|
||||
const auto uid = g_StateManager->GetIdForScript(item.x8_objId);
|
||||
const auto search = g_StateManager->GetIdListForScript(item.x8_objId);
|
||||
for (auto it = search.first; it != search.second; ++it) {
|
||||
auto uid = it->second;
|
||||
if (uid == kInvalidUniqueId) {
|
||||
continue;
|
||||
}
|
||||
@@ -263,6 +268,7 @@ void CEntity::ImGuiInspect() {
|
||||
}
|
||||
ImGuiConsole::EndEntityRow(entry);
|
||||
}
|
||||
}
|
||||
ImGui::EndTable();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user