mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 18:24:55 +00:00
Use CVar to determine whether or not to display Random calls
This commit is contained in:
@@ -120,7 +120,10 @@ void ViewManager::TestGameView::think() {
|
||||
}
|
||||
}
|
||||
|
||||
overlayText += fmt::format(FMT_STRING("CRandom16::Next calls: {}\n"), urde::CRandom16::GetNumNextCalls());
|
||||
if (m_cvarCommons.m_debugOverlayShowRandomStats->toBoolean()) {
|
||||
overlayText += fmt::format(FMT_STRING("CRandom16::Next calls: {}\n"), urde::CRandom16::GetNumNextCalls());
|
||||
}
|
||||
|
||||
if (m_cvarCommons.m_debugOverlayShowResourceStats->toBoolean())
|
||||
overlayText += fmt::format(FMT_STRING("Resource Objects: {}\n"), g_SimplePool->GetLiveObjects());
|
||||
|
||||
|
||||
2
hecl
2
hecl
Submodule hecl updated: 85949ed540...d0192a1623
Reference in New Issue
Block a user