mirror of https://github.com/AxioDL/metaforce.git
Use CVar to determine whether or not to display Random calls
This commit is contained in:
parent
4c3d7193b1
commit
e5b63ba523
|
@ -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
|
@ -1 +1 @@
|
|||
Subproject commit 85949ed540d9f2df008f6d039cdfb0b76537c2cf
|
||||
Subproject commit d0192a1623f0114fc93de10737a6c1d5f89c4e22
|
Loading…
Reference in New Issue